mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-05-14 15:10:05 +00:00
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:
parent
a0dc77de41
commit
21ff2b4bc9
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user