Fix get API key for user org #11
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 | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
build-and-release: | |
permissions: | |
contents: write | |
name: Build Windows amd64 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: 1.20.5 | |
- run: go get -v -t -d ./... | |
- run: GOOS=windows GOARCH=amd64 go build -o downloads/scw-2fa-init-windows-amd64 | |
- run: GOOS=linux GOARCH=amd64 go build -o downloads/scw-2fa-init-linux-amd64 | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: downloads/* |