Skip to content

Build AzCopy for M1 Mac #116

Build AzCopy for M1 Mac

Build AzCopy for M1 Mac #116

Workflow file for this run

# 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:
permissions:
id-token: write
contents: read
jobs:
build:
runs-on: macos-14
environment: Release
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23.1'
- name: Build
run: |
mkdir -p output
CGO_ENABLED=1 go build -o output/azcopy_darwin_m1_arm64
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: output/