Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jay7x committed Jun 17, 2023
1 parent 1d8b412 commit 3022b31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: '${{ matrix.go }}'
Expand All @@ -50,4 +50,5 @@ jobs:
args: build --snapshot --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: ./dist/etc-hosts-proxy_linux_amd64_v1/etc-hosts-proxy --version
- name: Check the linux build version
run: ./dist/etc-hosts-proxy_linux_amd64_v1/etc-hosts-proxy --version
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ permissions:
contents: write

jobs:
goreleaser:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: 1.20
go-version: '1.20'
- uses: goreleaser/goreleaser-action@v4
with:
version: '~> 1.18'
Expand Down

0 comments on commit 3022b31

Please sign in to comment.