mirror of
https://github.com/daylinmorgan/forge.git
synced 2024-12-23 11:30:43 -06:00
ci: switch to nimble setup
This commit is contained in:
parent
df98522b51
commit
43f3d67dcb
2 changed files with 9 additions and 6 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
@ -12,20 +12,23 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: jiro4989/setup-nim-action@v1
|
- uses: jiro4989/setup-nim-action@v2
|
||||||
with:
|
with:
|
||||||
nim-version: 2.0.0
|
nim-version: 2.0.8
|
||||||
|
|
||||||
- uses: goto-bus-stop/setup-zig@v2
|
- uses: goto-bus-stop/setup-zig@v2
|
||||||
|
|
||||||
- name: Bootstrap with installed version
|
- name: Bootstrap with installed version
|
||||||
run: nimble install -Y
|
run: |
|
||||||
|
nimble install -Y
|
||||||
|
|
||||||
- name: Generate build artifacts
|
- name: Generate build artifacts
|
||||||
run: nimble release
|
run:
|
||||||
|
nimble setup -l
|
||||||
|
nim release
|
||||||
|
|
||||||
- name: Create artifact bundles
|
- name: Create artifact bundles
|
||||||
run: nimble bundle
|
run: nim bundle
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -5,7 +5,7 @@ task build, "build":
|
||||||
|
|
||||||
task release, "build release assets":
|
task release, "build release assets":
|
||||||
version = (gorgeEx "git describe --tags --always --match 'v*'").output
|
version = (gorgeEx "git describe --tags --always --match 'v*'").output
|
||||||
exec fmt"./bin/forge release -v {version} -V"
|
exec fmt"forge release -v {version} -V"
|
||||||
|
|
||||||
task bundle, "package build assets":
|
task bundle, "package build assets":
|
||||||
withDir "dist":
|
withDir "dist":
|
||||||
|
|
Loading…
Reference in a new issue