1.0-RC4 #18
Workflow file for this run
This file contains hidden or 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 AWS Lambda API Simulator | |
on: | |
release: | |
types: [published] | |
env: | |
LATEST_GO_VERSION: 1.19 | |
permissions: | |
contents: write | |
jobs: | |
releases-matrix: | |
name: Release Binaries | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
goos: [ linux, windows, darwin ] | |
goarch: [ "386", amd64, arm64 ] | |
exclude: | |
- goarch: "386" | |
goos: darwin | |
- goarch: arm64 | |
goos: windows | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run Tests | |
run: make test | |
- name: Run Sanity | |
run: make build | |
- uses: wangyoucao577/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
goos: ${{ matrix.goos }} | |
goarch: ${{ matrix.goarch }} | |
goversion: ${{ env.LATEST_GO_VERSION }} | |
project_path: "./cmd/simulator" | |
binary_name: "simulator" | |
ldflags: "-s -w" | |
extra_files: LICENSE README.md | |
dockerhub-release: | |
name: Call Docker Hub Release | |
uses: | |
./.github/workflows/docker.yml | |
secrets: inherit |