mirror of
https://ghproxy.net/https://github.com/michelve/software-license-manager.git
synced 2025-10-04 02:06:37 +08:00
Update build.yml
This commit is contained in:
parent
a5df453e41
commit
cd7087eb42
1 changed files with 4 additions and 2 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -6,13 +6,13 @@ on:
|
||||||
- '*' # Runs on any tag push
|
- '*' # Runs on any tag push
|
||||||
release:
|
release:
|
||||||
types:
|
types:
|
||||||
- published # Runs when a release is published manually or via API
|
- published # Runs when a release is published
|
||||||
workflow_dispatch: # Allows manual triggering
|
workflow_dispatch: # Allows manual triggering
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # Required to upload assets
|
contents: write # Required to upload assets
|
||||||
actions: write # Required for actions to work correctly
|
actions: write # Required for actions to work correctly
|
||||||
id-token: write # If required for authentication
|
id-token: write # Required for authentication if necessary
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -72,3 +72,5 @@ jobs:
|
||||||
asset_path: slm-plus.zip
|
asset_path: slm-plus.zip
|
||||||
asset_name: slm-plus.zip
|
asset_name: slm-plus.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Ensure token is passed correctly
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue