Skip to content

Commit

Permalink
adding trial apk to releases
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed Sep 29, 2023
1 parent 39e2ef5 commit 29c4e32
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/') }}
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 29c4e32

Please sign in to comment.