switch to use server's new actions org #2
2 changed files with 5 additions and 5 deletions
|
@ -12,10 +12,10 @@ jobs:
|
||||||
outputs:
|
outputs:
|
||||||
cache-primary-key: ${{ steps.restore-deps.outputs.cache-primary-key }}
|
cache-primary-key: ${{ steps.restore-deps.outputs.cache-primary-key }}
|
||||||
steps:
|
steps:
|
||||||
- uses: https://git.libre-chip.org/mirrors/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: https://git.libre-chip.org/mirrors/cache/restore@v3
|
- uses: actions/cache/restore@v3
|
||||||
id: restore-deps
|
id: restore-deps
|
||||||
with:
|
with:
|
||||||
path: deps
|
path: deps
|
||||||
|
@ -70,7 +70,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git clone --depth=1 --recursive --branch=0.45 https://git.libre-chip.org/mirrors/yosys deps/yosys
|
git clone --depth=1 --recursive --branch=0.45 https://git.libre-chip.org/mirrors/yosys deps/yosys
|
||||||
make -C deps/yosys -j"$(nproc)"
|
make -C deps/yosys -j"$(nproc)"
|
||||||
- uses: https://git.libre-chip.org/mirrors/cache/save@v3
|
- uses: actions/cache/save@v3
|
||||||
if: steps.restore-deps.outputs.cache-hit != 'true'
|
if: steps.restore-deps.outputs.cache-hit != 'true'
|
||||||
with:
|
with:
|
||||||
path: deps
|
path: deps
|
||||||
|
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
runs-on: debian-12
|
runs-on: debian-12
|
||||||
needs: deps
|
needs: deps
|
||||||
steps:
|
steps:
|
||||||
- uses: https://git.libre-chip.org/mirrors/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- run: |
|
- run: |
|
||||||
|
@ -42,7 +42,7 @@ jobs:
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.89.0
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.89.0
|
||||||
source "$HOME/.cargo/env"
|
source "$HOME/.cargo/env"
|
||||||
echo "$PATH" >> "$GITHUB_PATH"
|
echo "$PATH" >> "$GITHUB_PATH"
|
||||||
- uses: https://git.libre-chip.org/mirrors/cache/restore@v3
|
- uses: actions/cache/restore@v3
|
||||||
with:
|
with:
|
||||||
path: deps
|
path: deps
|
||||||
key: ${{ needs.deps.outputs.cache-primary-key }}
|
key: ${{ needs.deps.outputs.cache-primary-key }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue