Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nocodeleaks committed Jun 7, 2024
1 parent 8a21984 commit 6dfd29a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ jobs:

runs-on: ${{ matrix.runner }}
steps:
env:
BINARYNAME: ${{github.repository}}-${{matrix.go-os}}-${{matrix.go-arch}}${{matrix.suffix}}

- uses: actions/checkout@v4

- name: Set up Go ${{env.GOVERSION}}
uses: actions/setup-go@v3
with:
go-version: ${{env.GOVERSION}}

env:
BINARYNAME: ${{github.repository}}-${{matrix.go-os}}-${{matrix.go-arch}}${{matrix.suffix}}

- name: Build
working-directory: ./src
run: ${{ matrix.build-env }} GOOS=${{ matrix.go-os }} GOARCH=${{ matrix.go-arch }} go build -o "${{env.BINARYNAME}}" -tags="${{ matrix.build-tags }}" -v ./...
Expand Down

0 comments on commit 6dfd29a

Please sign in to comment.