HOTFIX: Coordinate calculation typo. #10
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: Exporter Binary Build | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- satisfactory-exporter/** | |
- .github/workflows/build-exporter-binary.yml | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
GOOS: [linux, windows, darwin] | |
GOARCH: [amd64, arm64] | |
steps: | |
- name: Checkout GitHub Action | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.21 | |
- name: Build for ${{ matrix.GOOS }}-${{ matrix.GOARCH }} | |
working-directory: ./satisfactory-exporter | |
env: | |
GOOS: ${{ matrix.GOOS }} | |
GOARCH: ${{ matrix.GOARCH }} | |
run: go build -o satisfactory-exporter -ldflags "-s -w" main.go | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: satisfactory-exporter-${{ matrix.GOOS }}-${{ matrix.GOARCH }} | |
path: ./satisfactory-exporter/satisfactory-exporter |