forked from upstream-mirrors/quik
Use softprops/action-gh-release to fix Gitea artifact upload issue
Build and Release APK / Build APK (push) Has been cancelled
Build and Release APK / Build APK (push) Has been cancelled
This commit is contained in:
@@ -44,36 +44,14 @@ jobs:
|
|||||||
done
|
done
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
- name: Upload Debug APK Artifact
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: Quik-Debug-APK
|
|
||||||
path: presentation/build/outputs/apk/debug/*.apk
|
|
||||||
|
|
||||||
- name: Upload Release APK Artifact
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: Quik-Release-APK
|
|
||||||
path: presentation/build/outputs/apk/release/*.apk
|
|
||||||
|
|
||||||
release:
|
|
||||||
name: Create Gitea Release
|
|
||||||
needs: build
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Download Artifacts
|
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: ncipollo/release-action@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "Quik-Debug-APK/*.apk,Quik-Release-APK/*.apk"
|
tag_name: "latest"
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
tag: "latest"
|
|
||||||
name: "Latest Build"
|
name: "Latest Build"
|
||||||
body: "Automated release of Quik Fork with Remotrix integration. Generated from the latest push."
|
body: "Automated release of Quik Fork with Remotrix integration. Generated from the latest push."
|
||||||
allowUpdates: true
|
files: |
|
||||||
makeLatest: true
|
presentation/build/outputs/apk/debug/*.apk
|
||||||
|
presentation/build/outputs/apk/release/*.apk
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user