Skip to content

Commit

Permalink
merge workflow files and try to fix winget (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
sa7mon authored Sep 25, 2023
1 parent 06d64e7 commit 943295b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ permissions:
contents: write

jobs:
goreleaser:
release:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -19,10 +20,18 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: stable
- uses: goreleaser/goreleaser-action@v4
- name: goreleaser
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release -f ./packaging/.goreleaser.yaml --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: winget
uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: sa7mon.S3Scanner
max-versions-to-keep: 5
installers-regex: '_Windows_\w+\.zip$'
token: ${{ secrets.PACKAGING_TOKEN }}
13 changes: 0 additions & 13 deletions .github/workflows/winget-release.yml

This file was deleted.

0 comments on commit 943295b

Please sign in to comment.