-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c545f5
commit 7802707
Showing
1 changed file
with
30 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# This workflow will build a golang project | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | ||
|
||
name: Build AzCopy for M1 Mac | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
m1_url: | ||
description: 'URL with SAS to upload M1 build' | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: macos-14 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: '1.19' | ||
|
||
- name: Build | ||
run: go build -o azcopy_darwin_arm64 | ||
|
||
- name: Upload to AzCopy to M1 container | ||
run: ./azcopy_darwin_arm64 copy azcopy_darwin_arm64 ${{ inputs.m1_url }} |