From 43f3d67dcb2448db226551cfb87a56442f916dd6 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 26 Sep 2024 17:22:00 -0500 Subject: [PATCH] ci: switch to nimble setup --- .github/workflows/build.yml | 13 ++++++++----- config.nims | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 070b3dd..35a59bd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,20 +12,23 @@ jobs: with: fetch-depth: 0 - - uses: jiro4989/setup-nim-action@v1 + - uses: jiro4989/setup-nim-action@v2 with: - nim-version: 2.0.0 + nim-version: 2.0.8 - uses: goto-bus-stop/setup-zig@v2 - name: Bootstrap with installed version - run: nimble install -Y + run: | + nimble install -Y - name: Generate build artifacts - run: nimble release + run: + nimble setup -l + nim release - name: Create artifact bundles - run: nimble bundle + run: nim bundle - uses: actions/upload-artifact@v3 with: diff --git a/config.nims b/config.nims index c6ffe96..fe9d8e7 100644 --- a/config.nims +++ b/config.nims @@ -5,7 +5,7 @@ task build, "build": task release, "build release assets": 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": withDir "dist":