mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55: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:
|
release:
|
||||||
types:
|
types:
|
||||||
- published
|
- published
|
||||||
- prereleased
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish_chocolatey:
|
publish_chocolatey:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
outputs:
|
|
||||||
tag: ${{ steps.tag.outputs.tag }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -74,10 +71,16 @@ jobs:
|
|||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Spotube-Windows-Bundle
|
name: Spotube-Windows-Bundle
|
||||||
|
- name: Get latest tag
|
||||||
|
id: tag
|
||||||
|
uses: dawidd6/action-get-tag@v1
|
||||||
# Upload release binary
|
# Upload release binary
|
||||||
- uses: meeDamian/github-release@2.0
|
- uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
tag: v${{ needs.publish_chocolatey.outputs.tag }}
|
tag: ${{ steps.tag.outputs.tag }}
|
||||||
files: >
|
omitBodyDuringUpdate: true
|
||||||
|
omitNameDuringUpdate: true
|
||||||
|
allowUpdates: true
|
||||||
|
artifacts: >
|
||||||
Spotube-Windows-Bundle/
|
Spotube-Windows-Bundle/
|
||||||
|
Loading…
Reference in New Issue
Block a user