Merge pull request #36 from Fruchix/new_data_directory #61
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - '**' | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| ref: main | |
| - name: Create Package | |
| run: tar -czf fuzpad-${{ github.ref_name }}.tar.gz --exclude LICENSE --exclude README.md --exclude CODE_OF_CONDUCT.md --exclude CONTRIBUTING.md * | |
| - name: Generate Changelog | |
| id: changelog | |
| run: .github/scripts/changelog.sh > CHANGELOG.md | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.TOKEN }} | |
| continue-on-error: true | |
| - name: Create GitHub Release | |
| uses: softprops/action-gh-release@v1 | |
| if: steps.changelog.outcome == 'success' | |
| with: | |
| body_path: CHANGELOG.md | |
| files: fuzpad-${{ github.ref_name }}.tar.gz | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.TOKEN }} |