mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
cd: dry run true by default and flathub token in flathub job
This commit is contained in:
parent
51d83e18cc
commit
a11ff844b3
9
.github/workflows/spotube-publish-binary.yml
vendored
9
.github/workflows/spotube-publish-binary.yml
vendored
@ -10,7 +10,7 @@ on:
|
|||||||
description: Dry run
|
description: Dry run
|
||||||
required: true
|
required: true
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
flathub:
|
flathub:
|
||||||
@ -19,6 +19,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: KRTirtho/com.github.KRTirtho.Spotube
|
repository: KRTirtho/com.github.KRTirtho.Spotube
|
||||||
|
token: ${{ secrets.FLATHUB_TOKEN }}
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@ -89,10 +90,8 @@ jobs:
|
|||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Set up Chocolatey
|
- name: Set up Chocolatey
|
||||||
run: |
|
run: choco apikey -k ${{ secrets.CHOCO_API_KEY }} -s https://push.chocolatey.org/
|
||||||
choco apikey -k ${{ secrets.CHOCO_API_KEY }} -s https://push.chocolatey.org/
|
|
||||||
|
|
||||||
- name: Publish to Chocolatey Repository
|
- name: Publish to Chocolatey Repository
|
||||||
if: ${{ !inputs.dry_run }}
|
if: ${{ !inputs.dry_run }}
|
||||||
run: |
|
run: choco push Spotube-windows-x86_64.nupkg
|
||||||
choco push Spotube-windows-x86_64.nupkg
|
|
||||||
|
2
.github/workflows/spotube-release-binary.yml
vendored
2
.github/workflows/spotube-release-binary.yml
vendored
@ -18,7 +18,7 @@ on:
|
|||||||
description: Dry run
|
description: Dry run
|
||||||
required: true
|
required: true
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
windows:
|
windows:
|
||||||
|
Loading…
Reference in New Issue
Block a user