Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBSODAndWSODFan authored Jul 28, 2024
1 parent cc625cd commit 81cc7c9
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:
- name: Checkout branch "${{ github.ref_name }}"
run: |
git clone --no-checkout https://github.com/polymorphicshade/Tubular.git .
git clone --no-checkout https://github.com/TheBSODAndWSODFan/Tubular-Test.git .
git config core.symlinks false
git checkout --progress --force ${{ github.ref_name }}
Expand All @@ -47,12 +47,11 @@ jobs:
${ANDROID_HOME}/build-tools/34.0.0/apksigner sign --ks apksign.keystore --ks-pass env:SIGNING_STORE_PASSWORD "app/build/outputs/apk/release/app-release-unsigned.apk"
mv app/build/outputs/apk/release/app-release-unsigned.apk app/build/outputs/apk/release/"tubular_v${version}.apk"
- name: Create release and upload
run: |
version=$( grep "versionName" app/build.gradle | awk -F'"' '{print $2}' )
gh auth login --with-token <<<"${{ secrets.GITHUB_TOKEN }}"
gh release create "v${version}" --title "${{ inputs.title }}" --notes-file ".github/changelog.md" --prerelease=${{ inputs.is_pre_release }} --repo polymorphicshade/Tubular
gh release upload "v${version}" app/build/outputs/apk/release/*.apk --repo polymorphicshade/Tubular
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: app
path: app/build/outputs/apk/release/*.apk

- name: Archive reports for job
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 81cc7c9

Please sign in to comment.