Skip to content

Commit

Permalink
Hotfix for release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marcauberer committed Jul 2, 2022
1 parent 824548f commit 0e9f37b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 15 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/publish.yml
Expand Up @@ -140,10 +140,14 @@ jobs:
strategy:
matrix:
config:
- arch: amd64,
label: x64
- arch: 386,
label: x86
- {
arch: amd64,
label: x64
}
- {
arch: 386,
label: x86
}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -190,14 +194,4 @@ jobs:
file: ${{ steps.build_msi.outputs.msi }}
asset_name: compose-generator_${{ matrix.config.label }}_setup.msi
tag: ${{ github.ref }}

publish-to-winget:
name: Publish to WinGet
needs: build-win-installers
runs-on: windows-latest
steps:
- name: Push to WinGet repo
uses: vedantmgoyal2009/winget-releaser@latest
with:
identifier: ChilliBits.ComposeGenerator
token: ${{ secrets.GITHUB_TOKEN }}

15 changes: 15 additions & 0 deletions .github/workflows/winget-release.yml
@@ -0,0 +1,15 @@
# Publish to WinGet
name: Publish to WinGet

on:
release:
types: [released]
jobs:
publish:
runs-on: windows-latest
steps:
- name: Publish to WinGet
uses: vedantmgoyal2009/winget-releaser@latest
with:
identifier: ChilliBits.ComposeGenerator
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0e9f37b

Please sign in to comment.