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