Skip to content

Tag Sonic-1.2.1-b (#140) #7

Tag Sonic-1.2.1-b (#140)

Tag Sonic-1.2.1-b (#140) #7

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Configure private dependencies
uses: extractions/netrc@v1
with:
machine: github.com
username: git
password: ${{ secrets.ACCESS_TOKEN }}
- name: Golang dependency
uses: actions/setup-go@v3
with:
go-version: '1.21'
- name: Run unit tests
env:
GOPRIVATE: github.com/Fantom-foundation
run: go test -v ./...
- name: Build
run: make opera
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: "./build/opera"
token: ${{ secrets.GITHUB_TOKEN }}