Skip to content

Bump actions/setup-go from 4 to 5 #132

Bump actions/setup-go from 4 to 5

Bump actions/setup-go from 4 to 5 #132

Workflow file for this run

name: Build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
runs-on: '${{ matrix.os }}'
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.19
check-latest: true
- name: Build (Not Windows)
if: matrix.os != 'windows-latest'
run: 'go build -v -o cross-blogger__${{ matrix.os }}'
- name: Build (Windows)
if: matrix.os == 'windows-latest'
run: 'go build -v -o cross-blogger__${{ matrix.os }}.exe'
- uses: actions/upload-artifact@v3
with:
name: binaries
# path: 'cross-blogger__${{ matrix.os }}'
path: 'cross-blogger__*'