From 0bacef1cc69e03d1bf8f5fd1a06cfab8487de571 Mon Sep 17 00:00:00 2001 From: Matt Haggard Date: Wed, 18 Jan 2023 13:04:54 -0500 Subject: [PATCH 1/2] Use precompiled binaries for faster install --- .github/workflows/build.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 477beb4..76663b1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,21 +6,22 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - nim-version: ['1.2.2', '1.2.x', '1.4.x', 'stable'] + nim-version: ['binary:1.2.2', 'binary:1.2', 'binary:1.4', 'binary:stable'] include: - - nim-version: '1.4.x' + - nim-version: 'binary:1.4' gc_orc: true - - nim-version: 'stable' + - nim-version: 'binary:stable' gc_orc: true runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - - uses: jiro4989/setup-nim-action@v1 + - uses: iffy/install-nim@v4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - nim-version: ${{ matrix.nim-version }} - repo-token: ${{ secrets.GITHUB_TOKEN }} + version: ${{ matrix.nim-version }} - run: nimble install -y libcurl - run: nimble install -y zippy From 89cdc9bedf09066c637dfed274b2047f3f516ba8 Mon Sep 17 00:00:00 2001 From: Matt Haggard Date: Wed, 18 Jan 2023 13:26:45 -0500 Subject: [PATCH 2/2] No cross-platform binary for 1.2.2 available --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 76663b1..d411007 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,7 +6,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - nim-version: ['binary:1.2.2', 'binary:1.2', 'binary:1.4', 'binary:stable'] + nim-version: ['1.2.2', 'binary:1.2', 'binary:1.4', 'binary:stable'] include: - nim-version: 'binary:1.4' gc_orc: true