Skip to content

Commit

Permalink
add winget publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
bc3tech committed Jul 13, 2024
1 parent d80945e commit 1a608bf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build-and-pack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,15 @@ jobs:
tag: ${{ env.APP_VERSION }}
prerelease: ${{ github.ref != 'refs/heads/main'}}
token: ${{ secrets.GITHUB_TOKEN }}
publish-winget:
needs:
- create-release
runs-on: ubuntu-latest
steps:
- name: Update Packages
uses: michidk/winget-updater@v1
with:
komac-token: ${{ secrets.GITHUB_TOKEN }}
identifier: BC3Tech.FileSorter
repo: bc3tech/filesorter
url: https://github.com/bc3tech/filesorter/releases/download/{VERSION}/FileSorter_{VERSION}.zip
3 changes: 0 additions & 3 deletions .github/workflows/pr-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ jobs:
build:
runs-on: windows-latest
steps:
- name: debug
run: "echo app version: $APP_VERSION"

- uses: actions/checkout@v4

- name: Setup .NET
Expand Down

0 comments on commit 1a608bf

Please sign in to comment.