Skip to content

Bump actions/upload-artifact from 3 to 4 #3

Bump actions/upload-artifact from 3 to 4

Bump actions/upload-artifact from 3 to 4 #3

Workflow file for this run

name: Build Rollappd
on: ["push"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [amd64]
targetos: [darwin, linux]
go-version: ['1.19.x', '1.20.x']
include:
- targetos: darwin
arch: arm64
name: rollapp ${{ matrix.arch }} for ${{ matrix.targetos }}
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
go-version: ${{ matrix.go-version }}
env:
GOOS: ${{ matrix.targetos }}
GOARCH: ${{ matrix.arch }}
- name: Compile rollappd
run: |
go mod download
cd cmd/rollappd
go build .
- uses: actions/upload-artifact@v4
with:
name: rollappd ${{ matrix.targetos }} ${{ matrix.arch }}
path: cmd/rollappd/rollappd