mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-13 16:40:01 +00:00
Fix release workflow (share data between jobs)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user