From 49019e561ef10276349d2db1e1f0159638a54968 Mon Sep 17 00:00:00 2001 From: grimsi <9295182+grimsi@users.noreply.github.com> Date: Sat, 19 Jul 2025 23:19:05 +0200 Subject: [PATCH] Fix release workflow (share data between jobs) --- .github/workflows/release.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e2ab42..dff461e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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