Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimaoth committed Jul 17, 2024
2 parents ba0df0c + 9f71b3c commit 8860c38
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,19 @@ jobs:
#- run: echo "export PATH=/github/home/.nimble/bin:\$PATH" > ~/.profile
#- run: source ~/.profile
# continue-on-error: true
- run: PATH=/github/home/.nimble/bin:$PATH nimble setup

- name: Cache nimble modules
id: cache-nimble
uses: actions/cache@v3
env:
cache-name: cache-nimble-modules
with:
path: ~/.nimble
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/nimble.lock') }}

- if: ${{ steps.cache-nimble.outputs.cache-hit != 'true' }}
continue-on-error: true
run: PATH=/github/home/.nimble/bin:$PATH nimble setup

# linux builds
- run: PATH=/github/home/.nimble/bin:$PATH nimble buildAbsytreeServer
Expand Down Expand Up @@ -144,7 +156,17 @@ jobs:
- uses: iffy/install-nim@v5
with:
version: binary:2.0.6
- name: nimble setup

- name: Cache nimble modules
id: cache-nimble
uses: actions/cache@v3
env:
cache-name: cache-nimble-modules
with:
path: ~/.nimble
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/nimble.lock') }}

- if: ${{ steps.cache-nimble.outputs.cache-hit != 'true' }}
continue-on-error: true
run: nimble setup

Expand Down

0 comments on commit 8860c38

Please sign in to comment.