Compare commits

...

4 Commits

Author SHA1 Message Date
fkwp
42d697068d fix run-id 2024-04-22 18:44:42 +02:00
fkwp
96a1c4bf7a fix gh action run-id for a release (fixed order) 2024-04-22 18:39:19 +02:00
fkwp
85c140bc32 fix gh action run-id for a release 2024-04-22 18:36:42 +02:00
fkwp
affac2da40 fix gh action for a release 2024-04-22 18:04:47 +02:00
2 changed files with 5 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ jobs:
uses: actions/download-artifact@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
run-id: ${{ github.event.workflow_run.id || github.run_id }}
name: build-output
path: dist

View File

@@ -15,7 +15,7 @@ env:
jobs:
build_element_call:
if: ${{ github.event.workflow_run.event == 'release' }}
if: ${{ github.event_name == 'release' }}
uses: ./.github/workflows/element-call.yaml
with:
vite_app_version: ${{ github.event.release.tag_name || github.sha }}
@@ -25,6 +25,8 @@ jobs:
SENTRY_URL: ${{ secrets.SENTRY_URL }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
publish_tarball:
needs: build_element_call
if: always()
name: Publish tarball
runs-on: ubuntu-latest
outputs:
@@ -40,7 +42,7 @@ jobs:
uses: actions/download-artifact@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
run-id: ${{ github.event.workflow_run.id || github.run_id }}
name: build-output
path: dist
- name: Create Tarball