Skip to content

v1.1.8

v1.1.8 #19

Workflow file for this run

name: static-darwin
on:
release:
types:
- published
jobs:
static-darwin:
runs-on: macos-14
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.20"
- name: Configure Git
run: |
git config --global user.name "Onionpipe CI"
git config --global user.email "onionpipe-ci@users.noreply.github.com"
- name: Build static binary
working-directory: ${{ github.workspace }}
run: |
./build/build_all_darwin.bash
- name: Upload darwin binary
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_path: dist/onionpipe-darwin-amd64-static
asset_name: onionpipe-darwin-amd64-static
asset_content_type: application/octet-stream
upload_url: ${{ github.event.release.upload_url }}