Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
- Enable release and publishing in ACT.
  • Loading branch information
dylan-kwon committed Nov 7, 2024
1 parent b4174f4 commit 94b4b80
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,15 @@ jobs:
cache: gradle

- name: Set up Android SDK (Only on Act)
if: ${{ env.ACT }}
if: success() && ${{ env.ACT }}
uses: android-actions/setup-android@v3

- name: Publish
if: ${{ !env.ACT }}
run: ./gradlew publish

- name: Release
if: ${{ !env.ACT }}
uses: ncipollo/release-action@v1
with:
tag: v${{ env.VERSION_NAME }}
generateReleaseNotes: true
allowUpdates: true
skipIfReleaseExists: true

0 comments on commit 94b4b80

Please sign in to comment.