Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
please please
  • Loading branch information
Toni500github authored Apr 12, 2024
1 parent 1c8a290 commit 4b68411
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@ jobs:

- name: Build release
run: tar --zstd -cf tabaur.tar.zst taur


- name: Upload to github artifacts
uses: actions/upload-artifact@v3
with:
name: tabaur
path: tabaur.tar.zst

release:
name: Create GitHub Release
needs: [build, get-version]
Expand All @@ -64,10 +70,15 @@ jobs:
runs-on: ubuntu-latest
needs: [release, get-version]
steps:
- uses: actions/download-artifact@v3
with:
name: tabaur

- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.release-url }}
asset_path: ./tabaur.tar.zst
asset_name: tabaur.tar.zst
asset_content_type: application/tar+zstd

0 comments on commit 4b68411

Please sign in to comment.