Skip to content

Commit

Permalink
Fix CI variable in all workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rjuer committed Sep 14, 2024
1 parent 7650a74 commit 3cf50d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Build
run: |
mkdir dist
env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags="-s -w -X 'github.com/rjuer/cidr/cmd.version=$(VERSION)'" -o dist/
env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags="-s -w -X 'github.com/rjuer/cidr/cmd.version=$VERSION'" -o dist/
- name: Test
run: |
mkdir tmp
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Build
run: |
mkdir dist
env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags="-s -w -X 'github.com/rjuer/cidr/cmd.version=$(VERSION)'" -o dist/cidr-${{ matrix.goos }}-${{ matrix.goarch }}
env GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -ldflags="-s -w -X 'github.com/rjuer/cidr/cmd.version=$VERSION'" -o dist/cidr-${{ matrix.goos }}-${{ matrix.goarch }}
chmod +x dist/cidr-${{ matrix.goos }}-${{ matrix.goarch }}
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 3cf50d5

Please sign in to comment.