release
This commit is contained in:
@@ -34,6 +34,7 @@ jobs:
|
||||
run: |
|
||||
node .gitea/scripts/getLatestRunWithArtifacts.js
|
||||
echo "Resolved run_id: $(cat .gitea/.cache/run_id)"
|
||||
echo "run_id=$(cat .gitea/.cache/run_id)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Download frontend artifact
|
||||
env:
|
||||
@@ -62,13 +63,14 @@ jobs:
|
||||
ls -laR artifacts/webapi || true
|
||||
echo "::endgroup::"
|
||||
|
||||
- name: Resolve latest run that exposes required artifacts
|
||||
id: resolve
|
||||
- name: Tokenize (replace #{...}# from secrets/vars)
|
||||
env:
|
||||
GITEA_PAT: ${{ secrets.GITEATOKEN }}
|
||||
run: |
|
||||
node .gitea/scripts/getLatestRunWithArtifacts.js
|
||||
echo "run_id=$(cat .gitea/.cache/run_id)" >> "$GITHUB_OUTPUT"
|
||||
SECRETS: ${{ toJson(secrets) }}
|
||||
VARIABLES: ${{ toJson(vars) }}
|
||||
RUN_ID: ${{ steps.resolve.outputs.run_id }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
node .gitea/scripts/replaceTokens.js
|
||||
|
||||
- name: Package artifacts as ZIPs
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user