Skip to content

Commit

Permalink
Merge pull request #721 from Chilledheart/gh_actions_transitioning_to…
Browse files Browse the repository at this point in the history
…_node_20

gh actions: transitioning to node 20
  • Loading branch information
Chilledheart authored Jan 31, 2024
2 parents 8169723 + 748982d commit 27d9bfb
Show file tree
Hide file tree
Showing 14 changed files with 62 additions and 62 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ jobs:
git submodule update --init --depth 1
- name: Cache clang, nasm and wixtoolset 3
id: clang-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/nasm
third_party/llvm-build/Release+Asserts
third_party/wix311
key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }}
- name: Cache golang
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
%LocalAppData%\go-build
Expand Down Expand Up @@ -107,13 +107,13 @@ jobs:
git submodule update --init --depth 1
- name: Cache clang
id: clang-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/llvm-build/Release+Asserts
key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }}
- name: Cache golang
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/Library/Caches/go-build
Expand Down Expand Up @@ -153,13 +153,13 @@ jobs:
git submodule update --init --depth 1
- name: Cache clang
id: clang-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/llvm-build/Release+Asserts
key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }}
- name: Cache golang
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/compiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
git submodule update --init --depth 1
- name: Cache clang, nasm and wixtoolset 3
id: clang-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/nasm
Expand All @@ -67,15 +67,15 @@ jobs:
key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }}
- name: Cache msvc curl
id: curl-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/libcurl-vc16-arm64-release-static-ipv6-sspi-schannel
third_party/libcurl-vc16-x64-release-static-ipv6-sspi-schannel
third_party/libcurl-vc16-x86-release-static-ipv6-sspi-schannel
key: ${{ runner.os }}-msvc-dynamic-curl-vc16-${{ matrix.arch }}-v${{ env.CACHE_EPOCH }}
- name: Cache golang
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
%LocalAppData%\go-build
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
git submodule update --init --depth 1
- name: Cache clang
id: clang-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/nasm
Expand All @@ -155,22 +155,22 @@ jobs:
key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }}
- name: Cache mingw64 llvm
id: mingw-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/llvm-mingw-20230614-ucrt-ubuntu-20.04-x86_64
key: ${{ runner.os }}-mingw64-third_party-llvm-20230614-ucrt
- name: Cache mingw64 curl
id: curl-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/curl-8.4.0_7-win64a-mingw
third_party/curl-8.4.0_7-win64-mingw
third_party/curl-8.4.0_7-win32-mingw
key: ${{ runner.os }}-mingw64-curl-and-aarch64-v${{ env.CACHE_EPOCH }}
- name: Cache golang
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand Down Expand Up @@ -266,13 +266,13 @@ jobs:
git submodule update --init --depth 1
- name: Cache clang (v16.0.4)
id: clang16-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/clang+llvm-16.0.4-x86_64-linux-gnu-ubuntu-22.04
key: ${{ runner.os }}-toolchain-clang16-v${{ env.CACHE_EPOCH }}
- name: Cache golang
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand Down Expand Up @@ -350,7 +350,7 @@ jobs:
with:
go-version: '>=1.19.0'
- name: Cache golang
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/Library/Caches/go-build
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/releases-android-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,34 +73,34 @@ jobs:
patch -p1 < v8-6.7.17-fix-gcc-unwind-header.patch
- name: Cache clang
id: clang-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/llvm-build/Release+Asserts
key: ${{ runner.os }}-android-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }}
- name: Cache depot_tools
id: depot-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/depot_tools
key: ${{ runner.os }}-depot_tools-v1
- name: Cache crashpad build stage
id: crashpad-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/crashpad
key: ${{ runner.os }}-android-${{ matrix.arch }}-crashpad-${{ hashFiles('CRASHPAD_COMMIT') }}-v${{ env.CACHE_EPOCH }}
- name: Cache cargo build stage
id: cargo-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo
key: ${{ runner.os }}-android-cargo-${{ hashFiles('third_party/tun2proxy/Cargo.toml') }}-${{ hashFiles('third_party/tun2proxy/Cargo.lock') }}
- name: Cache golang
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand All @@ -109,20 +109,20 @@ jobs:
restore-keys: |
${{ runner.os }}-go-docker-
- name: Gradle cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.gradle
key: ${{ runner.os }}-gradle-${{ hashFiles('android/**/*.gradle') }}
- name: Cache qemu-user-static
id: qemu-user-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
qemu-user-static*.deb
key: ${{ runner.os }}-qemu-8.2.0-ds-5
- name: Cache sysroot
id: sysroot-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ env.SYSROOT }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/releases-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ jobs:
patch -p1 < v8-6.7.17-fix-gcc-unwind-header.patch
- name: Cache clang
id: clang-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/llvm-build/Release+Asserts
key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }}
- name: Cache golang
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
/tmp/.cache/go-build
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
sudo chown -R $USER:sbuild /etc/schroot/chroot.d /var/lib/schroot/chroots
- name: Cache schroot
id: schroot-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
/etc/schroot/chroot.d
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/releases-freebsd-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ jobs:
git submodule update --init --depth 1
- name: Cache clang
id: clang-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/llvm-build/Release+Asserts
key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }}
- name: Cache golang
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand All @@ -75,7 +75,7 @@ jobs:
${{ runner.os }}-go-docker-
- name: Cache sysroot
id: sysroot-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
freebsd-${{ matrix.abi }}-toolchain
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/releases-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ jobs:
git submodule update --init --depth 1
- name: Cache clang
id: clang-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/llvm-build/Release+Asserts
key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }}
- name: Cache cargo build stage
id: cargo-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo
Expand All @@ -58,7 +58,7 @@ jobs:
with:
go-version: '>=1.19.0'
- name: Cache golang (tools only)
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/Library/Caches/go-build
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/releases-linux-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ jobs:
patch -p1 < v8-6.7.17-fix-gcc-unwind-header.patch
- name: Cache clang
id: clang-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/llvm-build/Release+Asserts
key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }}
- name: Cache golang
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand All @@ -91,14 +91,14 @@ jobs:
${{ runner.os }}-go-docker-
- name: Cache qemu-user-static
id: qemu-user-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
qemu-user-static*.deb
key: ${{ runner.os }}-qemu-8.2.0-ds-5
- name: Cache sysroot
id: sysroot-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ env.SDK_ROOT }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/releases-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,27 +56,27 @@ jobs:
git submodule update --init --depth 1
- name: Cache clang
id: clang-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/llvm-build/Release+Asserts
key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }}
- name: Cache depot_tools
id: depot-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/depot_tools
key: ${{ runner.os }}-depot_tools-v1
- name: Cache crashpad build stage
id: crashpad-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/crashpad
key: ${{ runner.os }}-mac-${{ matrix.arch }}-crashpad-${{ hashFiles('CRASHPAD_COMMIT') }}-v${{ env.CACHE_EPOCH }}
- name: Cache golang (tools only)
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/Library/Caches/go-build
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/releases-mingw-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
git submodule update --init --depth 1
- name: Cache clang, nasm and wixtoolset 3
id: clang-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/nasm
Expand All @@ -70,22 +70,22 @@ jobs:
key: ${{ runner.os }}-toolchain-${{ hashFiles('CLANG_REVISION') }}-v${{ env.CACHE_EPOCH }}
- name: Cache mingw64 llvm
id: mingw-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/llvm-mingw-20230614-${{ matrix.variant }}-ubuntu-20.04-x86_64
key: ${{ runner.os }}-mingw64-third_party-llvm-20230614-${{ matrix.variant }}
- name: Cache mingw64 curl
id: curl-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
third_party/curl-8.4.0_7-win64a-mingw
third_party/curl-8.4.0_7-win64-mingw
third_party/curl-8.4.0_7-win32-mingw
key: ${{ runner.os }}-mingw64-curl-and-aarch64-v${{ env.CACHE_EPOCH }}
- name: Cache golang
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand Down
Loading

0 comments on commit 27d9bfb

Please sign in to comment.