Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DeluxerPanda authored Aug 23, 2024
1 parent 29e3738 commit 9224191
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,20 @@ jobs:
with:
name: release-artifacts
path: ${{ steps.releaseApk.outputs.apkfile }}


- name: Extract version from build.gradle
id: extract_version
run: |
VERSION_NAME=$(grep versionName app/build.gradle.kts | sed 's/versionName "//;s/"//')
echo "VERSION_NAME=$VERSION_NAME"
echo "::set-output name=version_name::$VERSION_NAME"
- name: Create and Upload Release
id: create_release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
name: Pre-Release ${{ github.ref }}
tag_name: ${{ steps.extract_version.outputs.version_name }}
name: Pre-Release ${{ steps.extract_version.outputs.version_name }}
body: ""
append_body: false
files: ${{ env.apkfile }}
Expand Down

0 comments on commit 9224191

Please sign in to comment.