Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
id: download | |
with: | |
name: 'falconieri' | |
- name: Release Falconieri | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: ${{steps.download.outputs.download-path}}/falconieri |