mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
chore: bump action versions (#22354)
These should be our last node v16 actions.
This commit is contained in:
parent
82eba2b53a
commit
087ecf1532
2 changed files with 6 additions and 6 deletions
6
.github/workflows/ci.generate.ts
vendored
6
.github/workflows/ci.generate.ts
vendored
|
@ -172,7 +172,7 @@ const installRustStep = {
|
||||||
};
|
};
|
||||||
const installPythonSteps = [{
|
const installPythonSteps = [{
|
||||||
name: "Install Python",
|
name: "Install Python",
|
||||||
uses: "actions/setup-python@v4",
|
uses: "actions/setup-python@v5",
|
||||||
with: { "python-version": 3.11 },
|
with: { "python-version": 3.11 },
|
||||||
}, {
|
}, {
|
||||||
name: "Remove unused versions of Python",
|
name: "Remove unused versions of Python",
|
||||||
|
@ -187,7 +187,7 @@ const installPythonSteps = [{
|
||||||
}];
|
}];
|
||||||
const installNodeStep = {
|
const installNodeStep = {
|
||||||
name: "Install Node",
|
name: "Install Node",
|
||||||
uses: "actions/setup-node@v3",
|
uses: "actions/setup-node@v4",
|
||||||
with: { "node-version": 18 },
|
with: { "node-version": 18 },
|
||||||
};
|
};
|
||||||
const installProtocStep = {
|
const installProtocStep = {
|
||||||
|
@ -599,7 +599,7 @@ const ci = {
|
||||||
{
|
{
|
||||||
// Restore cache from the latest 'main' branch build.
|
// Restore cache from the latest 'main' branch build.
|
||||||
name: "Restore cache build output (PR)",
|
name: "Restore cache build output (PR)",
|
||||||
uses: "actions/cache/restore@v3",
|
uses: "actions/cache/restore@v4",
|
||||||
if:
|
if:
|
||||||
"github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/')",
|
"github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/')",
|
||||||
with: {
|
with: {
|
||||||
|
|
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -166,7 +166,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
deno-version: v1.x
|
deno-version: v1.x
|
||||||
- name: Install Python
|
- name: Install Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.11
|
python-version: 3.11
|
||||||
if: '!(matrix.skip) && (matrix.job != ''lint'' && (matrix.os != ''linux'' || matrix.arch != ''aarch64''))'
|
if: '!(matrix.skip) && (matrix.job != ''lint'' && (matrix.os != ''linux'' || matrix.arch != ''aarch64''))'
|
||||||
|
@ -180,7 +180,7 @@ jobs:
|
||||||
ForEach-Object { Move-Item "$_" "$_.disabled" }
|
ForEach-Object { Move-Item "$_" "$_.disabled" }
|
||||||
- if: '!(matrix.skip) && (matrix.job == ''bench'')'
|
- if: '!(matrix.skip) && (matrix.job == ''bench'')'
|
||||||
name: Install Node
|
name: Install Node
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
- name: Install protoc
|
- name: Install protoc
|
||||||
|
@ -344,7 +344,7 @@ jobs:
|
||||||
restore-keys: '74-cargo-home-${{ matrix.os }}-${{ matrix.arch }}'
|
restore-keys: '74-cargo-home-${{ matrix.os }}-${{ matrix.arch }}'
|
||||||
if: '!(matrix.skip)'
|
if: '!(matrix.skip)'
|
||||||
- name: Restore cache build output (PR)
|
- name: Restore cache build output (PR)
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v4
|
||||||
if: '!(matrix.skip) && (github.ref != ''refs/heads/main'' && !startsWith(github.ref, ''refs/tags/''))'
|
if: '!(matrix.skip) && (github.ref != ''refs/heads/main'' && !startsWith(github.ref, ''refs/tags/''))'
|
||||||
with:
|
with:
|
||||||
path: |-
|
path: |-
|
||||||
|
|
Loading…
Reference in a new issue