maybe make workflow faster
This commit is contained in:
parent
b88547b137
commit
6709f95384
1 changed files with 8 additions and 3 deletions
11
.github/workflows/build-and-cache.yml
vendored
11
.github/workflows/build-and-cache.yml
vendored
|
@ -6,6 +6,13 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
package:
|
||||||
|
- github:cything/attic/4938bf3584258e74d6f2036198eef81d7cdb4c85#attic
|
||||||
|
- github:cything/attic/4938bf3584258e74d6f2036198eef81d7cdb4c85#attic-server
|
||||||
|
- github:cything/attic/4938bf3584258e74d6f2036198eef81d7cdb4c85#attic-client
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
@ -23,6 +30,4 @@ jobs:
|
||||||
cache: ${{ vars.ATTIC_CACHE }}
|
cache: ${{ vars.ATTIC_CACHE }}
|
||||||
token: ${{ secrets.ATTIC_TOKEN }}
|
token: ${{ secrets.ATTIC_TOKEN }}
|
||||||
|
|
||||||
- run: nix build github:cything/attic/4938bf3584258e74d6f2036198eef81d7cdb4c85#attic
|
- run: nix build '${{ matrix.package }}'
|
||||||
- run: nix build github:cything/attic/4938bf3584258e74d6f2036198eef81d7cdb4c85#attic-server
|
|
||||||
- run: nix build github:cything/attic/4938bf3584258e74d6f2036198eef81d7cdb4c85#attic-client
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue