Skip to content

Commit

Permalink
Update release.yaml
Browse files Browse the repository at this point in the history
Upload the aar built by Github Action to avoid installing Golang and Android NDk locally.
  • Loading branch information
wqerrewetw authored and markpash committed May 27, 2024
1 parent b87aff6 commit ea65517
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,17 @@ jobs:
run: |
./gradlew assembleRelease
# Upload build aar to Artifacts
- name: Upload build aar to Artifacts
uses: actions/upload-artifact@v4
with:
name: "tun2socks"
path: app/libs/*.aar

# Upload APK artifact
- name: Upload files to Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: oblivion-${{ github.sha }}-unsigned.apk
path: |
app/build/outputs/apk/release/app-release-unsigned.apk
app/build/outputs/apk/release/*.apk

0 comments on commit ea65517

Please sign in to comment.