Skip to content

Commit

Permalink
Upgrade Node 16 actions in .github/workflows (#3086)
Browse files Browse the repository at this point in the history
Node 16 actions are deprecated so upgrade to the Node 20 versions.
  • Loading branch information
nwt authored Jun 10, 2024
1 parent 60252d2 commit ad5657d
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-zui/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ runs:

- name: Checkout esigner-codesign repository
if: runner.os == 'Windows'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: 'SSLcom/esigner-codesign'
path: esigner-codesign
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup-zui/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ runs:
using: 'composite'
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: '1.21'

- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
# Caching is disabled because it resulted in getting amd64 Zed binaries
# on arm64 builds. See https://github.com/actions/setup-node/issues/1008.
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/upload-build-artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inputs:
runs:
using: 'composite'
steps:
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Mac Artifact (${{ runner.arch }})
path: dist/apps/zui/*.dmg
Expand All @@ -20,17 +20,17 @@ runs:
GH_TOKEN: ${{ inputs.gh_token }}
shell: bash

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Windows Artifact
path: dist/apps/zui/*.exe

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Debian Artifact
path: dist/apps/zui/*.deb

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: RPM Artifact
path: dist/apps/zui/*.rpm
2 changes: 1 addition & 1 deletion .github/workflows/advance-zed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
matrix:
os: [ubuntu-20.04]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# ref defaults to github.sha, which is fixed at the time a run
# is triggered. Using github.ref ensures a run that waits for
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-insiders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout Zui
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.zui-branch }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout Zui
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Zui
uses: ./.github/actions/setup-zui
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
os: [macos-12, macos-14, ubuntu-20.04, windows-2019]
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-zui
- run: yarn lint
- run: yarn test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Output inputs
run: echo "${{ toJSON(inputs) }}"
shell: sh
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-zui
- name: Install dependencies (Linux)
if: startsWith(matrix.os, 'ubuntu-')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
markdown-link-check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Extract branch name
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
id: extract_branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-insiders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout Zui
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Zui
uses: ./.github/actions/setup-zui
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout Zui
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Zui
uses: ./.github/actions/setup-zui
Expand Down

0 comments on commit ad5657d

Please sign in to comment.