Skip to content

Commit

Permalink
Update app and appkit init flow
Browse files Browse the repository at this point in the history
  • Loading branch information
skibitsky committed Aug 7, 2024
1 parent d6a2ef3 commit c8effc6
Show file tree
Hide file tree
Showing 21 changed files with 832 additions and 757 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,38 +72,3 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-comment: true
working-directory: Build/WebGL/WebGL

deployAndroid:
name: Deploy Android APK
runs-on: ubuntu-latest
needs: buildForAllSupportedPlatforms
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download Android Build Artifact
uses: actions/download-artifact@v3
with:
name: Build-Android
path: Build/Android
- name: Install dotnet-script
run: dotnet tool install -g dotnet-script
- name: Generate QR Code
id: generate_qr
run: |
apk_url=$(gh api -X GET "repos/${{ github.repository }}/actions/artifacts" | jq -r '.artifacts[] | select(.name=="Build-Android") | .archive_download_url')
dotnet-script ./.github/workflows/scripts/generate-qr.csx $apk_url qr_code.png
- name: Upload QR Code
uses: actions/upload-artifact@v3
with:
name: qr-code
path: qr_code.png
- name: Post Comment with APK Link and QR Code
run: |
apk_url=$(gh api -X GET "repos/${{ github.repository }}/actions/artifacts" | jq -r '.artifacts[] | select(.name=="Build-Android") | .archive_download_url')
gh pr comment ${{ github.event.pull_request.number }} --body "APK is available for download [here](${apk_url}). ![QR Code](https://raw.githubusercontent.com/${{ github.repository }}/$(git rev-parse HEAD)/qr_code.png)"
env:
GH_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48 changes: 0 additions & 48 deletions .github/workflows/scripts/generate-qr.csx

This file was deleted.

Large diffs are not rendered by default.

Loading

0 comments on commit c8effc6

Please sign in to comment.