name: Publish AlaskarTV on: workflow_dispatch: jobs: publish: runs-on: docker container: ghcr.io/catthehacker/ubuntu:act-latest steps: - name: Checkout Repo uses: actions/checkout@v3 - name: Parse version.txt id: parse_version run: | VERSION_NAME=$(grep '^VERSION_NAME=' version.txt | awk -F 'VERSION_NAME=v' '{print $2}') echo "VERSION_NAME=$VERSION_NAME" >> $GITHUB_ENV - name: Download Assets uses: actions/forgejo-release@v2 with: url: https://git.askar.tv repo: nomad/alaskartv-app tag: "v${{ env.VERSION_NAME }}" release-dir: ./release direction: download env: VERSION_NAME: ${{ env.VERSION_NAME }} FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }} - name: Use What's New Message run: | mkdir -p ./release/whatsnew cp whatsnew.txt ./release/whatsnew/whatsnew-en-US - name: List Downloaded Files run: | ls -laR ./release # - name: Create service_account.json # run: echo '${{ secrets.SERVICE_ACCOUNT_JSON }}' > service_account.json # # - name: Deploy to Google Play # uses: https://github.com/r0adkll/upload-google-play@v1 # with: # serviceAccountJson: service_account.json # packageName: org.askartv.tv # releaseFiles: "./release/*.aab" # debugSymbols: "./release/symbols" # track: production # status: completed # whatsNewDirectory: ./release/whatsnew