This commit is contained in:
nomadics9 2025-01-06 02:12:43 +03:00
parent 05502353b3
commit 758c289be5

View file

@ -8,25 +8,25 @@ jobs:
container: ghcr.io/catthehacker/ubuntu:act-latest container: ghcr.io/catthehacker/ubuntu:act-latest
steps: steps:
- name: Get Artifacts from Latest Build - name: Checkout Repo
id: get-artifacts uses: actions/checkout@v3
- name: Parse version.txt
id: parse_version
run: | run: |
LATEST_RUN=$(gh run list --workflow main.yml --json conclusion,createdAt,displayTitle,headSha --limit 1 | jq -r '.[0].id') VERSION_NAME=$(grep '^VERSION_NAME=' version.txt | awk -F 'VERSION_NAME=v' '{print $2}')
echo "run_id=$LATEST_RUN" >> $GITHUB_ENV echo "VERSION_NAME=$VERSION_NAME" >> $GITHUB_ENV
- name: Download Signed AAB - name: Download Assets
uses: actions/download-artifact@v3 uses: actions/forgejo-release@v2
with: with:
name: signed-aab url: https://git.askar.tv
workflow-run-id: ${{ env.run_id }} repo: nomad/alaskartv-app
path: ./release tag: "${{ env.VERSION_NAME }}"
release-dir: ./
- name: Download Debug Symbols direction: download
uses: actions/download-artifact@v3 env:
with: VERSION_NAME: ${{ env.VERSION_NAME }}
name: debug-symbols
workflow-run-id: ${{ env.run_id }}
path: ./release/symbols
- name: Use What's New Message - name: Use What's New Message
run: | run: |
@ -34,7 +34,10 @@ jobs:
cp whatsnew.txt ./release/whatsnew/whatsnew-en-US cp whatsnew.txt ./release/whatsnew/whatsnew-en-US
- name: List Downloaded Files - name: List Downloaded Files
run: ls -laR ./release run:
ls -laR ./release
echo "release files"
ls -laR dist/release
# - name: Create service_account.json # - name: Create service_account.json
# run: echo '${{ secrets.SERVICE_ACCOUNT_JSON }}' > service_account.json # run: echo '${{ secrets.SERVICE_ACCOUNT_JSON }}' > service_account.json