mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
cd(publish): ability to select specific jobs
This commit is contained in:
parent
66342644a6
commit
1f9c02cc1e
9
.github/workflows/spotube-publish-binary.yml
vendored
9
.github/workflows/spotube-publish-binary.yml
vendored
@ -11,10 +11,16 @@ on:
|
||||
required: true
|
||||
type: boolean
|
||||
default: true
|
||||
jobs:
|
||||
description: Jobs to run
|
||||
required: true
|
||||
type: string
|
||||
default: "flathub,aur,winget,chocolatey"
|
||||
|
||||
jobs:
|
||||
flathub:
|
||||
runs-on: ubuntu-22.04
|
||||
if: contains(inputs.jobs, 'flathub')
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@ -42,6 +48,7 @@ jobs:
|
||||
|
||||
aur:
|
||||
runs-on: ubuntu-22.04
|
||||
if: contains(inputs.jobs, 'aur')
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
@ -70,6 +77,7 @@ jobs:
|
||||
|
||||
winget:
|
||||
runs-on: windows-latest
|
||||
if: contains(inputs.jobs, 'winget')
|
||||
steps:
|
||||
- name: Release winget package
|
||||
if: ${{ !inputs.dry_run }}
|
||||
@ -82,6 +90,7 @@ jobs:
|
||||
|
||||
chocolatey:
|
||||
runs-on: windows-latest
|
||||
if: contains(inputs.jobs, 'chocolatey')
|
||||
steps:
|
||||
- uses: dsaltares/fetch-gh-release-asset@master
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user