Skip to content

upgrade to golang1.22 #42

upgrade to golang1.22

upgrade to golang1.22 #42

Workflow file for this run

name: Release
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.22'
check-latest: true
cache: true
- run: go install github.com/mitchellh/gox@latest
- run: PATH=$HOME/go/bin:$PATH ./crossbuild.sh
- uses: svenstaro/upload-release-action@1.1.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: binaries/*
tag: ${{ github.ref }}
file_glob: "true"