Skip to content

Commit

Permalink
Fix artifact upload workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
lnsp committed Dec 8, 2024
1 parent 2327b76 commit 5cdbe86
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@ jobs:
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -a -tags netgo -ldflags "-X valar/cli/cmd.version=$VALAR_VERSION -s -w -extldflags \"-static\"" -o valar_linux_arm64 .
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -a -tags netgo -ldflags "-X valar/cli/cmd.version=$VALAR_VERSION -s -w -extldflags \"-static\"" -o valar_darwin_amd64 .
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -a -tags netgo -ldflags "-X valar/cli/cmd.version=$VALAR_VERSION -s -w -extldflags \"-static\"" -o valar_darwin_arm64 .
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: valar_darwin_amd64
path: valar_darwin_amd64
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: valar_darwin_arm64
path: valar_darwin_arm64
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: valar_linux_amd64
path: valar_linux_amd64
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: valar_linux_arm
path: valar_linux_arm
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: valar_linux_arm64
path: valar_linux_arm64
Expand All @@ -50,19 +50,19 @@ jobs:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: valar_linux_arm
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: valar_linux_arm64
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: valar_linux_amd64
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: valar_darwin_amd64
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: valar_darwin_arm64
- name: Create Release
Expand Down

0 comments on commit 5cdbe86

Please sign in to comment.