diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d792c2758..4578e2605 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -196,6 +196,23 @@ jobs: path: release.zip if: ${{ ! matrix.config.python }} + - name: Get previous tag + id: previoustag + uses: 'WyriHaximus/github-action-get-previous-tag@v1' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ steps.previoustag.outputs.tag }} + release_name: Release ${{ steps.previoustag.outputs.tag }} + draft: false + prerelease: false + - name: upload windows artifact uses: actions/upload-release-asset@v1 if: ${{ ! matrix.config.python && startsWith(github.ref, 'refs/tags/') }} @@ -625,7 +642,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ${{ github.workspace }}/output/android/build/outputs/apk/debug/ + asset_path: ${{ github.workspace }}/output/android/build/outputs/apk/debug/android-debug.apk asset_name: fdroid-android-trial.zip asset_content_type: application/zip