Skip to content

Commit

Permalink
chore: Add assets.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrapan committed Dec 6, 2024
1 parent 43ef7f8 commit 8ce2bbe
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/assets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Attach Asset
on:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- name: Zip
run: zip -r ${{ github.event.repository.name }}.zip . -x ".git/*" ".github/*" ".gitignore"
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ${{ github.event.repository.name }}.zip

0 comments on commit 8ce2bbe

Please sign in to comment.