Skip to content

Mainnet-13.2.0

Mainnet-13.2.0 #251

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
build:
name: Build
runs-on: ${{ matrix.config.os }}
strategy:
matrix:
config:
- os: ubuntu-latest
- os: macos-latest
steps:
- name: Set up Go 1.x
uses: actions/[email protected]
with:
go-version: 1.20.5
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build Release
run: make release
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: binaries
path: release/*
publish:
needs: build
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: binaries
path: releases
- name: Display structure of downloaded files
run: ls -R
working-directory: releases
- name: attach binaries
uses: softprops/action-gh-release@v1
with:
files: releases/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}