-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #142 from runpod/DireLines-patch-1
Update release.yml
- Loading branch information
Showing
2 changed files
with
5 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 . | ||
|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ builds: | |
goos: | ||
- darwin | ||
- linux | ||
- android | ||
- windows | ||
goarch: | ||
- amd64 | ||
|