diff --git a/.github/workflows/build-noti.yml b/.github/workflows/build-noti.yml index 2ec2b58..9472aa6 100644 --- a/.github/workflows/build-noti.yml +++ b/.github/workflows/build-noti.yml @@ -54,22 +54,10 @@ jobs: name: ${{ env.REPO_NAME }}.apk path: ./${{ env.REPO_NAME }}.apk - - name: Create Release - id: create_release - uses: actions/create-release@v1.14.0 - 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/upload-release-asset@v1.1.3 + uses: softprops/action-gh-release@v2.0.8 + 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