Place the cache action correctly
Some checks failed
Build binaries and publish / build-linux (aarch64-unknown-linux-gnu) (push) Successful in 8m3s
Build binaries and publish / build-linux (x86_64-unknown-linux-gnu) (push) Failing after 1m29s
Build binaries and publish / build-linux (x86_64-unknown-linux-musl) (push) Has been cancelled
Build binaries and publish / build-linux (aarch64-unknown-linux-musl) (push) Failing after 3m44s

This commit is contained in:
Anton Liaposhchenko 2023-12-27 22:21:08 +02:00
parent 66e1a77b1e
commit c7df56da97

View File

@ -31,14 +31,14 @@ jobs:
- uses: actions/checkout@v4
- run: npm install
- run: npm run build -- --release --target ${{ matrix.target }}
- uses: actions/cache@v3
with:
path: target
key: ${{ matrix.target }}-rust-target
- run: npm install
- run: npm run build -- --release --target ${{ matrix.target }}
- uses: actions/upload-artifact@v3
with:
name: binary-${{ matrix.target }}