mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05: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
|
required: true
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
jobs:
|
||||||
|
description: Jobs to run
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
default: "flathub,aur,winget,chocolatey"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
flathub:
|
flathub:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
if: contains(inputs.jobs, 'flathub')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -42,6 +48,7 @@ jobs:
|
|||||||
|
|
||||||
aur:
|
aur:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
if: contains(inputs.jobs, 'aur')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
@ -70,6 +77,7 @@ jobs:
|
|||||||
|
|
||||||
winget:
|
winget:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
if: contains(inputs.jobs, 'winget')
|
||||||
steps:
|
steps:
|
||||||
- name: Release winget package
|
- name: Release winget package
|
||||||
if: ${{ !inputs.dry_run }}
|
if: ${{ !inputs.dry_run }}
|
||||||
@ -82,6 +90,7 @@ jobs:
|
|||||||
|
|
||||||
chocolatey:
|
chocolatey:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
if: contains(inputs.jobs, 'chocolatey')
|
||||||
steps:
|
steps:
|
||||||
- uses: dsaltares/fetch-gh-release-asset@master
|
- uses: dsaltares/fetch-gh-release-asset@master
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user