Skip to content

Commit

Permalink
Merge pull request #142 from runpod/DireLines-patch-1
Browse files Browse the repository at this point in the history
Update release.yml
  • Loading branch information
DireLines authored Apr 12, 2024
2 parents f5b505d + 6fa7476 commit c3d5b61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:

- name: build
run: |
export CGO_ENABLED=0
echo "${{ steps.release.outputs.tag_name }}" > version
env GOOS=android GOARCH=amd64 go build -o bin/runpodctl-android-amd64 .
env GOOS=android GOARCH=arm64 go build -o bin/runpodctl-android-arm64 .
env GOOS=darwin GOARCH=amd64 go build -o bin/runpodctl-darwin-amd64 .
env GOOS=darwin GOARCH=arm64 go build -o bin/runpodctl-darwin-arm64 .
env GOOS=linux GOARCH=amd64 go build -o bin/runpodctl-linux-amd64 .
Expand Down Expand Up @@ -95,12 +95,12 @@ jobs:
asset_path: bin/runpodctl-linux-arm64
asset_name: runpodctl-linux-arm64
asset_content_type: application/octet-stream
- name: upload android amd64 release binary
- name: upload android arm64 release binary
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: bin/runpodctl-android-amd64
asset_name: runpodctl-android-amd64
asset_path: bin/runpodctl-android-arm64
asset_name: runpodctl-android-arm64
asset_content_type: application/octet-stream
1 change: 0 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ builds:
goos:
- darwin
- linux
- android
- windows
goarch:
- amd64
Expand Down

0 comments on commit c3d5b61

Please sign in to comment.