Skip to content

Merge pull request #8 from nethesis/artifacts_actions_update #19

Merge pull request #8 from nethesis/artifacts_actions_update

Merge pull request #8 from nethesis/artifacts_actions_update #19

Workflow file for this run

name: Build and release Falconieri
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
- name: Install dependencies
run: go get
- name: Build Falconieri
run: go build
- name: Upload Falconieri binary
uses: actions/[email protected]
with:
name: falconieri
path: ./falconieri
release:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
id: download
with:
name: 'falconieri'
- name: Release Falconieri
uses: softprops/action-gh-release@v1
with:
files: ${{steps.download.outputs.download-path}}/falconieri