make share key shorter to type and less likely to conflict #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 | |
permissions: | |
actions: read | |
attestations: read | |
checks: read | |
contents: write | |
deployments: read | |
id-token: none | |
issues: read | |
discussions: read | |
packages: write | |
pages: read | |
pull-requests: read | |
repository-projects: read | |
security-events: read | |
statuses: read | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
- uses: actions/checkout@v3 | |
- run: sudo apt-get install mosquitto | |
- run: go test -v ./... | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "1.20" | |
- uses: actions/checkout@v3 | |
- run: make arch | |
- uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 | |
name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
artifacts: "bin/*" |