mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
using a better update release GHA in SPotube Release Build
This commit is contained in:
parent
e5e6971c4e
commit
3002e8f8fd
15
.github/workflows/release-build.yml
vendored
15
.github/workflows/release-build.yml
vendored
@ -3,13 +3,10 @@ on:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
- prereleased
|
||||
|
||||
jobs:
|
||||
publish_chocolatey:
|
||||
runs-on: windows-latest
|
||||
outputs:
|
||||
tag: ${{ steps.tag.outputs.tag }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v3
|
||||
@ -74,10 +71,16 @@ jobs:
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: Spotube-Windows-Bundle
|
||||
- name: Get latest tag
|
||||
id: tag
|
||||
uses: dawidd6/action-get-tag@v1
|
||||
# Upload release binary
|
||||
- uses: meeDamian/github-release@2.0
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag: v${{ needs.publish_chocolatey.outputs.tag }}
|
||||
files: >
|
||||
tag: ${{ steps.tag.outputs.tag }}
|
||||
omitBodyDuringUpdate: true
|
||||
omitNameDuringUpdate: true
|
||||
allowUpdates: true
|
||||
artifacts: >
|
||||
Spotube-Windows-Bundle/
|
||||
|
Loading…
Reference in New Issue
Block a user