Skip to content

Commit

Permalink
update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoisaiah committed Nov 2, 2024
1 parent 3b4f78b commit 73cd0d3
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Build assets with Goreleaser
uses: goreleaser/goreleaser-action@v6
with:
version: "~> v2"
version: ~> v2
args: release --clean --snapshot

- name: Upload assets to nightly release
Expand All @@ -89,10 +89,22 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.go_version }}
go-version: 1.23

- name: Use Exiftool
uses: woss/[email protected]
if: matrix.os != 'windows-latest'

- uses: MinoruSekine/[email protected]
with:
apps: exiftool
if: matrix.os == 'windows-latest'

- name: Set up gotestfmt
run: go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest

- name: Run tests
run: go test ./... -race
run: go test ./... -json -v -race 2>&1 | gotestfmt -hide 'empty-packages'

publish_stable:
name: Release stable version
Expand Down

0 comments on commit 73cd0d3

Please sign in to comment.