Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
michelve committed Nov 12, 2024
1 parent a5df453 commit cd7087e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
- '*' # Runs on any tag push
release:
types:
- published # Runs when a release is published manually or via API
- published # Runs when a release is published
workflow_dispatch: # Allows manual triggering

permissions:
contents: write # Required to upload assets
actions: write # Required for actions to work correctly
id-token: write # If required for authentication
id-token: write # Required for authentication if necessary

jobs:
build:
Expand Down Expand Up @@ -72,3 +72,5 @@ jobs:
asset_path: slm-plus.zip
asset_name: slm-plus.zip
asset_content_type: application/zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Ensure token is passed correctly

0 comments on commit cd7087e

Please sign in to comment.