Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtakac committed Mar 29, 2024
1 parent 085045b commit bcc43ac
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_and_upload_to_github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/setup-java@v4
- name: Set up Java 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand All @@ -21,7 +22,7 @@ jobs:
- name: Assemble release
run: ./gradlew assembleRelease
# See https://github.com/r0adkll/sign-android-release/issues/84
- name: Set-up BUILD_TOOL_VERSION environment variable
- name: Set up BUILD_TOOL_VERSION environment variable
shell: bash
run: |
BUILD_TOOL_VERSION=$(ls /usr/local/lib/android/sdk/build-tools/ | tail -n 1)
Expand All @@ -48,7 +49,7 @@ jobs:
echo 'CHANGELOG<<EOF' >> $GITHUB_ENV
sed -n '/## \[${{ env.VERSION_NAME }}.*/,/## \[/p' CHANGELOG.md | head -n -2 >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Upload APK to release
- name: Upload APK to GitHub release
uses: svenstaro/upload-release-action@v2
with:
file: ${{ steps.sign_release.outputs.signedReleaseFile }}
Expand Down

0 comments on commit bcc43ac

Please sign in to comment.