Skip to content

Commit

Permalink
add create_release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
linkfrg committed Jul 28, 2024
1 parent e05b5f3 commit 916d71e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/create_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Create Release

permissions:
contents: write

on:
release:
types: [published]

jobs:
release:
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Create tar file
run: |
cd ..
tar -czf "ignis-${{ github.ref_name }}.tar.gz" "ignis"
- name: Upload assets
uses: softprops/action-gh-release@v2
with:
files: |
../ignis-${{ github.ref_name }}.tar.gz

0 comments on commit 916d71e

Please sign in to comment.