Skip to content

Commit

Permalink
ci: setup-nim-action v2 (#44)
Browse files Browse the repository at this point in the history
* wip: setup-nim-action v2-beta

* fix: repo-token

* feat: devel test

* fix v2
  • Loading branch information
jiro4989 authored Jul 6, 2024
1 parent ecfeca6 commit 09d5b6e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v1
- uses: jiro4989/setup-nim-action@v2
with:
nim-version: ${{ env.NIM_VERSION }}
- run: nimble install -Y
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- macOS-latest
steps:
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v1
- uses: jiro4989/setup-nim-action@v2
with:
nim-version: ${{ env.NIM_VERSION }}
- run: nimble build -Y -d:release
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v1
- uses: jiro4989/setup-nim-action@v2
with:
nim-version: ${{ env.NIM_VERSION }}
- run: nimble build -Y -d:release
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,16 @@ jobs:
- macOS-latest
nim-version:
- 'stable'
- 'devel'
exclude:
- os: windows-latest
nim-version: devel
steps:
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v1
- uses: jiro4989/setup-nim-action@v2
with:
nim-version: ${{ matrix.nim-version }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: nimble install -Y
- run: nimble build -Y
- run: nimble buildjs
Expand All @@ -48,9 +53,10 @@ jobs:
- 'stable'
steps:
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v1
- uses: jiro4989/setup-nim-action@v2
with:
nim-version: ${{ matrix.nim-version }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: nimble install -Y
- run: nimble build -Y
- run: nimble buildjs
Expand All @@ -67,8 +73,9 @@ jobs:
- 'stable'
steps:
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v1
- uses: jiro4989/setup-nim-action@v2
with:
nim-version: ${{ matrix.nim-version }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: nimble install -Y
- run: nimble docs

0 comments on commit 09d5b6e

Please sign in to comment.