testing
This commit is contained in:
parent
49a95d23ef
commit
24f605175e
1 changed files with 9 additions and 3 deletions
12
.github/workflows/publish.yml
vendored
12
.github/workflows/publish.yml
vendored
|
@ -14,13 +14,19 @@ jobs:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Get latest successful run ID
|
||||||
|
id: get-run
|
||||||
|
run: |
|
||||||
|
LATEST_RUN=$(curl -s -H "Authorization: token ${FORGEJO_TOKEN}" \
|
||||||
|
"https://git.askar.tv/api/v1/repos/owner/repo/actions/runs?status=success&event=push&branch=main" | \
|
||||||
|
jq -r '.[] | select(.workflow_id=="main.yml") | .id' | head -n1)
|
||||||
|
echo "run_id=$LATEST_RUN" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Download Signed AAB
|
- name: Download Signed AAB
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
workflow: .github/workflows/main.yml
|
|
||||||
list: true
|
|
||||||
workflow_conclusion: success
|
|
||||||
name: signed-aab
|
name: signed-aab
|
||||||
|
run-id: ${{ steps.get-run.outputs.run_id }}
|
||||||
path: ./release
|
path: ./release
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue