Enhance build workflow with permissions and release step

Added permissions for write access and a release step to publish artifacts.
This commit is contained in:
Star1xr 2026-03-29 17:28:50 +03:00 committed by GitHub
parent a0dc77de41
commit 21ff2b4bc9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,8 @@ jobs:
build-android-armv7a:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
@ -17,6 +19,16 @@ jobs:
with:
name: android-armv7a-build
path: android-armv7a-build.zip
- name: release
uses: softprops/action-gh-release@v1
with:
files: android-armv7a-build.zip
body: "automated release"
draft: false
env:
GITHUB_TOKEN: $
{{ secrets.GITHUB_TOKEN }} # just a placeholder! dont put token on the secrets.
build-linux-i386:
runs-on: ubuntu-latest