Skip to content

Commit

Permalink
flip install order
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed Mar 4, 2024
1 parent fa34259 commit 182545d
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,32 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
path: ups
path: project

- name: Setup Nim
uses: alaviss/setup-nim@0.1.1
with:
path: nim
version: ${{ matrix.nim }}

- name: Run tests
- name: Dependencies
shell: bash
run: |
cd ups
nimble --accept develop
cd project
nimble --accept install "https://github.com/disruptek/balls"
nimble --accept develop
- name: Tests
shell: bash
run: |
cd project
balls
- name: Build docs
if: ${{ matrix.docs }} == 'true'
shell: bash
run: |
cd ups
cd project
branch=${{ github.ref }}
branch=${branch##*/}
nimble doc --project --path="." --outdir:docs \
Expand All @@ -70,6 +75,6 @@ jobs:
matrix.os == 'ubuntu-latest' && matrix.nim == 'devel'
uses: crazy-max/ghaction-github-pages@v1
with:
build_dir: ups/docs
build_dir: project/docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 182545d

Please sign in to comment.