chore: bump golang-jwt
#201
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: Create PR assets | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Build assets | |
strategy: | |
matrix: | |
include: | |
- target: windows | |
- target: linux | |
- target: darwin | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Build project | |
run: make ${{ matrix.target }} | |
- name: Upload amd64 build artifact | |
uses: actions/upload-artifact@v4 | |
if: ${{ matrix.target != 'windows' }} | |
with: | |
name: ${{ matrix.target }}-amd64 | |
path: "build/infracost-${{ matrix.target }}-amd64" | |
- name: Upload windows amd64 build artifact | |
uses: actions/upload-artifact@v4 | |
if: ${{ matrix.target == 'windows' }} | |
with: | |
name: ${{ matrix.target }}-amd64 | |
path: "build/infracost.exe" | |
- name: Upload arm64 build artifact | |
uses: actions/upload-artifact@v4 | |
if: ${{ matrix.target != 'windows' }} | |
with: | |
name: ${{ matrix.target }}-arm64 | |
path: "build/infracost-${{ matrix.target }}-arm64" | |
- name: Upload windows arm64 build artifact | |
uses: actions/upload-artifact@v4 | |
if: ${{ matrix.target == 'windows' }} | |
with: | |
name: ${{ matrix.target }}-arm64 | |
path: "build/infracost-arm64.exe" |