Skip to content

Commit

Permalink
Fix for Choco, with some trigger changes as well (#2190)
Browse files Browse the repository at this point in the history
While intended to be a fix for the Choco release, it seems that I also
have an issue with the triggers.
  • Loading branch information
MrHinsh authored Jul 17, 2024
2 parents 804086e + 9f07b65 commit bcda88d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ permissions:

on:
push:
branches: ["*"]
branches: ["main"]
tags-ignore: ["v*-*"]

pull_request:
branches: [ "main" ]
branches: ["main"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

defaults:
Expand Down Expand Up @@ -353,8 +352,8 @@ jobs:
} else {
Write-Output $"Running with {$chocoFile}"
}
choco push "$chocoFile" --version $NuGetVersion --key ${{ secrets.CHOCO_APIKEY }} --source https://push.chocolatey.org/
Write-Output 'choco push "$chocoFile" --key "${{ secrets.CHOCO_APIKEY }}" --source "https://push.chocolatey.org/"'
choco push "$chocoFile" --key "${{ secrets.CHOCO_APIKEY }}" --source "https://push.chocolatey.org/"
# Release to Winget
Expand Down

0 comments on commit bcda88d

Please sign in to comment.