Skip to content

distribute

distribute #14

Workflow file for this run

name: distribute
on:
- workflow_dispatch
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.21'
check-latest: true
- name: Set up Caching
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run Build
run: make dist check
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: build-dist
path: build/dist
retention-days: 7