Skip to content

Snapshot Build

Snapshot Build #1

Workflow file for this run

name: "Snapshot Build"
on:
workflow_dispatch:
permissions:
contents: write
packages: write
jobs:
build-windows:
name: Build and release Windows
runs-on: ubuntu-latest
strategy:
matrix:
goos: [ windows ]
goarch: [ amd64, arm64 ]
steps:
- uses: actions/checkout@v4
- uses: ./
name: "Common Setup"
- name: Build
run: |
make build/${{ matrix.goos }}/${{ matrix.goarch }}
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: ftb-debug-${{ matrix.goos }}-${{ matrix.goarch }}
overwrite: true
path: |
out/*
build-linux:
name: Build and release Linux
runs-on: ubuntu-latest
strategy:
matrix:
goos: [ linux ]
goarch: [ amd64, arm64 ]
steps:
- uses: actions/checkout@v4
- uses: ./
name: "Common Setup"
- name: Build
run: |
make build/${{ matrix.goos }}/${{ matrix.goarch }}
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: ftb-debug-${{ matrix.goos }}-${{ matrix.goarch }}
overwrite: true
path: |
out/*
build-macos:
name: Build and release macOS
runs-on: ubuntu-latest
strategy:
matrix:
goos: [ darwin ]
goarch: [ amd64, arm64 ]
steps:
- uses: actions/checkout@v4
- uses: ./
name: "Common Setup"
- name: Build
run: |
make build/${{ matrix.goos }}/${{ matrix.goarch }}
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: ftb-debug-${{ matrix.goos }}-${{ matrix.goarch }}
overwrite: true
path: |
out/*