mirror of
https://github.com/daylinmorgan/forge.git
synced 2024-12-23 11:30:43 -06:00
39 lines
721 B
YAML
39 lines
721 B
YAML
name: ⚙️ Build Binaries
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
build-artifact:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- uses: jiro4989/setup-nim-action@v2
|
|
with:
|
|
nim-version: 2.0.8
|
|
|
|
- uses: goto-bus-stop/setup-zig@v2
|
|
|
|
- name: Bootstrap with installed version
|
|
run: |
|
|
nimble install -Y
|
|
|
|
- name: Generate build artifacts
|
|
run:
|
|
nimble setup -l
|
|
nim release
|
|
|
|
- name: Create artifact bundles
|
|
run: nim bundle
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: artifacts
|
|
path: |
|
|
dist/*.tar.gz
|
|
dist/*.zip
|
|
|