Release qnapexporter #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: Release qnapexporter | |
on: # yamllint disable-line rule:truthy | |
release: | |
types: [created] | |
jobs: | |
release-linux-amd64: | |
name: release linux/amd64 | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write # for wangyoucao577/go-release-action to upload assets | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: wangyoucao577/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
goos: linux | |
goarch: amd64 | |
build_command: make build PACKAGE_VERSION="$GITHUB_REF_NAME" | |
binary_name: bin/qnapexporter | |
asset_name: qnapexporter | |
overwrite: true |