From c76a8fba1b5a8c813c6f3135b2bb3296e7b09eb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20K=C3=B6nig?= Date: Tue, 14 Jan 2025 21:36:00 +0100 Subject: [PATCH] upload browser extension artifacts to GH release --- .github/workflows/release.yml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5c859346..1b1823f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -138,18 +138,37 @@ jobs: src-tauri/target/x86_64-apple-darwin/release/bundle/dmg/elasticvue_*_x64.dmg src-tauri/target/x86_64-apple-darwin/release/bundle/macos/elasticvue_x64* + + build_browser_extensions: + name: Build browser extensions + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: build extensions + run: make build_browser_extensions + + - name: upload artifacts + uses: actions/upload-artifact@v4 + with: + name: browser_extension_artifacts + if-no-files-found: error + path: | + artifacts/*.zip + + build_docker: name: Build docker images runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + - name: Docker hub login uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - uses: actions/checkout@v4 - - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -169,6 +188,7 @@ jobs: tags: cars10/elasticvue:latest,cars10/elasticvue:${{ steps.package-version.outputs.current-version }} #tags: cars10/elasticvue:${{ steps.package-version.outputs.current-version }} + publish: name: Publish release needs: @@ -216,6 +236,7 @@ jobs: github-artifacts/mac_x86_64_artifacts/macos/elasticvue_x64* github-artifacts/windows_artifacts/bundle/msi/elasticvue_*_x64* github-artifacts/windows_artifacts/elasticvue.exe + github-artifacts/browser_extension_artifacts/*.zip body: | ## Changelog ${{ steps.changelog.outputs.changelog }}