Skip to content

Commit

Permalink
Update build-noti.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
itsnotsos authored Sep 29, 2024
1 parent 5533bfc commit 5dc6b73
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/build-noti.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,10 @@ jobs:
name: ${{ env.REPO_NAME }}.apk
path: ./${{ env.REPO_NAME }}.apk

- name: Create Release
id: create_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
with:
tag_name: ${{ github.run_number }}
release_name: Release ${{ github.run_number }}

- name: Upload Release APK
- name: Create and Release APK
id: upload_release_asset
uses: actions/[email protected]
uses: softprops/[email protected]
with:
files: ./${{ env.REPO_NAME }}.apk
env:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ env.REPO_NAME }}.apk
asset_name: ${{ env.REPO_NAME }}.apk
asset_content_type: application/vnd.android.package-archive

0 comments on commit 5dc6b73

Please sign in to comment.