Skip to content

Commit

Permalink
Move Winget Releaser inside CICD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sitiom authored and sharkdp committed Mar 27, 2023
1 parent c9afbc5 commit 4356ba3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,3 +338,15 @@ jobs:
${{ steps.debian-package.outputs.DPKG_PATH }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

winget:
name: Publish to Winget
runs-on: windows-latest # Action can only run on Windows
needs: build
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: sharkdp.fd
installers-regex: '-pc-windows-msvc\.zip$'
token: ${{ secrets.WINGET_TOKEN }}
14 changes: 0 additions & 14 deletions .github/workflows/winget.yml

This file was deleted.

0 comments on commit 4356ba3

Please sign in to comment.