Skip to content

Commit

Permalink
separate winget action (#46)
Browse files Browse the repository at this point in the history
* separate winget action

* newline
  • Loading branch information
therealpaulgg committed Mar 27, 2024
1 parent f4a4ead commit 5886169
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,3 @@ jobs:
- uses: ncipollo/release-action@v1
with:
artifacts: "./ssh-sync-setup/ssh-sync-setup.exe,./ssh-sync/ssh-sync,./packages/*.deb,./packages/*.rpm"
update-winget-manifest:
needs: [build-docker, build-windows, build-linux, release]
runs-on: windows-latest
steps:
- uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: therealpaulgg.ssh-sync
version: ${{ github.ref_name }}
release-tag: ${{ github.ref_name }}
token: ${{ secrets.ACCESS_TOKEN_CLASSIC }}
16 changes: 16 additions & 0 deletions .github/workflows/update-winget-manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Update Winget Manifest

on:
release:
types: [published]

jobs:
update-winget-manifest:
runs-on: windows-latest
steps:
- uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: therealpaulgg.ssh-sync
version: ${{ github.ref_name }}
release-tag: ${{ github.ref_name }}
token: ${{ secrets.ACCESS_TOKEN_CLASSIC }}

0 comments on commit 5886169

Please sign in to comment.