Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating actions to v4 #1477

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/matter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.0.0
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down Expand Up @@ -62,10 +62,10 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3.0.0
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
Expand Down Expand Up @@ -158,25 +158,25 @@ jobs:
command_line: npx asar l ./dist/linux-unpacked/resources/app.asar | grep apack.json
contains: 'apack.json'
- name: Archive Linux (x64) .zip file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'ubuntu')
with:
name: zap-linux-x64-zip
path: dist/zap-linux-x64.zip
- name: Archive Linux (arm64) .zip file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'ubuntu')
with:
name: zap-linux-arm64-zip
path: dist/zap-linux-arm64.zip
- name: Archive Linux .rpm file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'ubuntu')
with:
name: zap-linux-x64-rpm
path: dist/zap-linux-x64.rpm
- name: Archive Linux x64 .deb file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'ubuntu')
with:
name: zap-linux-x64-deb
Expand All @@ -195,15 +195,15 @@ jobs:
image: connectedhomeip/chip-build:0.6.11

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: zap-linux-x64-zip

- name: Unpack linux artifact
run: |
mkdir zap-release && cd zap-release && unzip ../zap-linux-x64.zip

# Checkout without actions/checkout@v3 since that one uses a repository specific token
# Checkout without actions/checkout@v4 since that one uses a repository specific token
- name: Checkout Matter SDK
run: |
git clone --depth 1 https://github.com/project-chip/connectedhomeip.git chip_repo
Expand Down
42 changes: 21 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.0.0
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand All @@ -56,9 +56,9 @@ jobs:
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.0.0
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand All @@ -85,9 +85,9 @@ jobs:
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.0.0
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand All @@ -107,7 +107,7 @@ jobs:
- run: npm run self-check
- run: npm run test:unit
- name: Upload code coverage artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: jest-coverage
path: jest-coverage/coverage-final.json
Expand All @@ -124,14 +124,14 @@ jobs:
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.0.0
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Download jest coverage artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: jest-coverage
- run: sudo ./src-script/install-packages-ubuntu
Expand All @@ -153,10 +153,10 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3.0.0
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
Expand Down Expand Up @@ -397,49 +397,49 @@ jobs:
contains: 'apack.json'

- name: Archive Windows (x64) .zip file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'macos')
with:
name: zap-win-x64-zip
path: dist/zap-win-x64.zip
- name: Archive Windows (arm64) .zip file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'macos')
with:
name: zap-win-arm64-zip
path: dist/zap-win-arm64.zip
- name: Archive macOS x64 .zip file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'macos')
with:
name: zap-mac-x64-zip
path: dist/zap-mac-x64.zip
- name: Archive macOS arm64 .zip file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'macos')
with:
name: zap-mac-arm64-zip
path: dist/zap-mac-arm64.zip
- name: Archive Linux (x64) .zip file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'ubuntu')
with:
name: zap-linux-x64-zip
path: dist/zap-linux-x64.zip
- name: Archive Linux (arm64) .zip file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'ubuntu')
with:
name: zap-linux-arm64-zip
path: dist/zap-linux-arm64.zip
- name: Archive Linux .rpm file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'ubuntu')
with:
name: zap-linux-x64-rpm
path: dist/zap-linux-x64.rpm
- name: Archive Linux x64 .deb file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: startsWith(matrix.os, 'ubuntu')
with:
name: zap-linux-x64-deb
Expand All @@ -451,7 +451,7 @@ jobs:
name: Create Github Release
runs-on: ubuntu-22.04
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
- name: List downloaded files
run: ls -R
- name: Creating Github Release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.0.0
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/zigbee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
os: [ubuntu-22.04]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.0.0
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand All @@ -55,7 +55,7 @@ jobs:
run: node ./src-script/gsdk-public-regen.js ./gecko_sdk/ ./regen-pr
- name: Create the temp regen directory for master.
run: mkdir regen-master
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: master
clean: false
Expand All @@ -68,7 +68,7 @@ jobs:
run: node ./src-script/gsdk-public-regen.js ./gecko_sdk/ ./regen-master
- name: Remove genResult files just in case.
run: find ./regen-master -name genResult.json -exec rm -f {} \;
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
clean: false
- name: Diff
Expand Down
Loading