cd: dry run true by default and flathub token in flathub job

This commit is contained in:
Kingkor Roy Tirtho 2023-03-15 10:28:57 +06:00
parent 51d83e18cc
commit a11ff844b3
2 changed files with 5 additions and 6 deletions

View File

@ -10,7 +10,7 @@ on:
description: Dry run
required: true
type: boolean
default: false
default: true
jobs:
flathub:
@ -19,6 +19,7 @@ jobs:
- uses: actions/checkout@v3
with:
repository: KRTirtho/com.github.KRTirtho.Spotube
token: ${{ secrets.FLATHUB_TOKEN }}
- uses: actions/checkout@v3
with:
@ -89,10 +90,8 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Chocolatey
run: |
choco apikey -k ${{ secrets.CHOCO_API_KEY }} -s https://push.chocolatey.org/
run: choco apikey -k ${{ secrets.CHOCO_API_KEY }} -s https://push.chocolatey.org/
- name: Publish to Chocolatey Repository
if: ${{ !inputs.dry_run }}
run: |
choco push Spotube-windows-x86_64.nupkg
run: choco push Spotube-windows-x86_64.nupkg

View File

@ -18,7 +18,7 @@ on:
description: Dry run
required: true
type: boolean
default: false
default: true
jobs:
windows: