stop release workflow from trying to run on every push #58
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: | |
| build: | |
| name: Build ๐ ๏ธ | |
| uses: ./.github/workflows/run_build.yml | |
| release: | |
| needs: | |
| - build | |
| name: Create Release ๐ข | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download Tarball ๐ฅ | |
| uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 | |
| with: | |
| name: tarball | |
| - name: Generate Checksums ๐ | |
| run: | | |
| sha256sum nixos.wsl > nixos.wsl.sha256 | |
| - name: Attach to Release ๐ | |
| uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2 | |
| with: | |
| files: | | |
| nixos.wsl | |
| nixos.wsl.sha256 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |