Skip to content

Commit

Permalink
Update go-releases.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
windfgg authored Nov 18, 2023
1 parent ac2cfe3 commit e9b681b
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/go-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,8 @@ env:
BINARY_NAME: "ProxyPool"

jobs:
build-go-binary:
delete-release-assets:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows]
goarch: ["386", amd64, arm64]
exclude:
- goarch: arm64
goos: windows

steps:
- name: Checkout code
Expand All @@ -35,6 +28,21 @@ jobs:
fail-if-no-assets: false
fail-if-no-release: false

build-go-binary:
needs: delete-release-assets
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, windows]
goarch: ["386", amd64, arm64]
exclude:
- goarch: arm64
goos: windows

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Go release action
uses: wangyoucao577/[email protected]
with:
Expand Down

0 comments on commit e9b681b

Please sign in to comment.