Skip to content

Merge pull request #6 from nethesis/dependabot/go_modules/github.com/… #14

Merge pull request #6 from nethesis/dependabot/go_modules/github.com/…

Merge pull request #6 from nethesis/dependabot/go_modules/github.com/… #14

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/upload-artifact@v3
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/download-artifact@v3
id: download
with:
name: 'falconieri'
- name: Release Falconieri
uses: softprops/action-gh-release@v1
with:
files: ${{steps.download.outputs.download-path}}/falconieri