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 8, 2024
1 parent 8f0b757 commit 978f3ab
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Plugin
name: Build and Upload Release Asset

on:
push:
Expand Down Expand Up @@ -49,9 +49,11 @@ jobs:
zip -r ../slm-plus.zip slm-plus
shell: bash

# Step 5: Upload the ZIP file as an artifact (optional)
- name: Upload ZIP as artifact
uses: actions/upload-artifact@v3
# Step 5: Upload the ZIP as a release asset
- name: Upload ZIP to Release
uses: actions/upload-release-asset@v1
with:
name: slm-plus
path: slm-plus.zip
upload_url: ${{ github.event.release.upload_url }}
asset_path: slm-plus.zip
asset_name: slm-plus.zip
asset_content_type: application/zip

0 comments on commit 978f3ab

Please sign in to comment.