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 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

View File

@ -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: