File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed
Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ jobs:
1919 staging-lint :
2020 name : " Staging / Lint"
2121 runs-on : ubuntu-latest
22- container :
23- image : ghcr.io/matrixai/github-runner
2422 permissions :
2523 packages : read
2624 contents : read
2725 steps :
2826 - uses : actions/checkout@v4
27+ - name : Install Nix
28+ uses : cachix/install-nix-action@v30
2929 - name : Run linting
3030 run : |
3131 nix develop .#ci --command bash -c $'
@@ -62,14 +62,14 @@ jobs:
6262 staging-build :
6363 name : " Staging / Build"
6464 runs-on : ubuntu-latest
65- container :
66- image : ghcr.io/matrixai/github-runner
6765 permissions :
6866 packages : read
6967 contents : read
7068 actions : write
7169 steps :
7270 - uses : actions/checkout@v4
71+ - name : Install Nix
72+ uses : cachix/install-nix-action@v30
7373 - name : Run build
7474 run : |
7575 nix develop .#ci --command bash -c $'
8888 needs :
8989 - staging-build
9090 runs-on : ${{ matrix.os }}
91- container :
92- image : ${{ matrix.platform == 'linux' && 'ghcr.io/matrixai/github-runner' || null }}
9391 permissions :
9492 packages : read
9593 contents : read
@@ -133,6 +131,8 @@ jobs:
133131 npm run bench --if-present
134132 steps :
135133 - uses : actions/checkout@v4
134+ - name : Install Nix
135+ uses : cachix/install-nix-action@v30
136136 - uses : actions/download-artifact@v4
137137 with :
138138 name : dist
@@ -199,4 +199,4 @@ jobs:
199199 --repo "$GITHUB_REPOSITORY"
200200 git checkout master
201201 git merge --ff-only "$GITHUB_SHA"
202- git push origin master
202+ git push origin master
Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ jobs:
1111 tag-build :
1212 name : " Tag / Build"
1313 runs-on : ubuntu-latest
14- container :
15- image : ghcr.io/matrixai/github-runner
1614 permissions :
1715 packages : read
1816 contents : read
1917 actions : write
2018 steps :
2119 - uses : actions/checkout@v4
20+ - name : Install Nix
21+ uses : cachix/install-nix-action@v30
2222 - name : Run build
2323 run : |
2424 nix develop .#ci --command bash -c $'
3434 tag-prerelease :
3535 name : " Tag / Pre-release"
3636 runs-on : ubuntu-latest
37- container :
38- image : ghcr.io/matrixai/github-runner
3937 concurrency :
4038 group : tag-prerelease
4139 cancel-in-progress : false
4745 if : startsWith(github.ref, 'refs/tags/v') && contains(github.ref, '-')
4846 steps :
4947 - uses : actions/checkout@v4
48+ - name : Install Nix
49+ uses : cachix/install-nix-action@v30
5050 - uses : actions/download-artifact@v4
5151 with :
5252 name : dist
6868 tag-release :
6969 name : " Tag / Release"
7070 runs-on : ubuntu-latest
71- container :
72- image : ghcr.io/matrixai/github-runner
7371 concurrency :
7472 group : release-distribution
7573 cancel-in-progress : false
8179 if : startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, '-')
8280 steps :
8381 - uses : actions/checkout@v4
82+ - name : Install Nix
83+ uses : cachix/install-nix-action@v30
8484 - uses : actions/download-artifact@v4
8585 with :
8686 name : dist
You can’t perform that action at this time.
0 commit comments