Skip to content

Commit a1d2d7c

Browse files
authored
upgrade nixpkgs to v22 (#784)
1 parent 7784796 commit a1d2d7c

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/ton-x86-64-linux.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,18 @@ jobs:
1414
- uses: actions/checkout@v3
1515
with:
1616
submodules: 'recursive'
17+
fetch-depth: 0
1718

18-
- uses: cachix/install-nix-action@v18
19+
- uses: cachix/install-nix-action@v22
1920
with:
2021
extra_nix_config: |
2122
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
2223
2324
- name: Compile
24-
run: nix build .?submodules=1#packages.x86_64-linux.ton-oldglibc_staticbinaries --print-build-logs --system x86_64-linux -o result-x86_64
25+
run: |
26+
git submodule sync --recursive
27+
git submodule update
28+
nix build .?submodules=1#packages.x86_64-linux.ton-oldglibc_staticbinaries --print-build-logs --system x86_64-linux -o result-x86_64
2529
2630
- name: Copy binaries
2731
run: |

.github/workflows/ton-x86-64-macos.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,18 @@ jobs:
1010
- uses: actions/checkout@v3
1111
with:
1212
submodules: 'recursive'
13+
fetch-depth: 0
1314

14-
- uses: cachix/install-nix-action@v18
15+
- uses: cachix/install-nix-action@v22
1516
with:
1617
extra_nix_config: |
1718
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
1819
1920
- name: Compile
20-
run: nix build .?submodules=1#packages.x86_64-darwin.ton-staticbin-dylib --print-build-logs -o result-x86_64-darwin
21+
run: |
22+
git submodule sync --recursive
23+
git submodule update
24+
nix build .?submodules=1#packages.x86_64-darwin.ton-staticbin-dylib --print-build-logs -o result-x86_64-darwin
2125
2226
- name: Copy binaries
2327
run: |

0 commit comments

Comments
 (0)