Fix release workflow (share data between jobs)

This commit is contained in:
grimsi
2025-07-19 23:19:05 +02:00
parent dccb15de71
commit 49019e561e
+19
View File
@@ -45,6 +45,13 @@ jobs:
if: ${{ github.event.inputs.update_version }}
run: |
jq ".version = \"$RELEASE_VERSION\"" app/package.json > app/package.json.tmp && mv app/package.json.tmp app/package.json
- name: Upload modified files
uses: actions/upload-artifact@v4
with:
name: modified-files
path: |
build.gradle.kts
app/package.json
docker:
needs: setup
@@ -54,6 +61,10 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download modified files
uses: actions/download-artifact@v4
with:
name: modified-files
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
@@ -89,6 +100,10 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download modified files
uses: actions/download-artifact@v4
with:
name: modified-files
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
@@ -112,6 +127,10 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download modified files
uses: actions/download-artifact@v4
with:
name: modified-files
- name: Commit version bump
if: ${{ github.event.inputs.update_version }}
uses: stefanzweifel/git-auto-commit-action@v6