Skip to content

Commit cfc86f3

Browse files
committed
chore: ci
1 parent 338eb06 commit cfc86f3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/pm-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343

4444
steps:
4545
- name: Install Linux Dependencies
46-
if: ${{ matrix.platform_os == 'linux' }}
46+
if: ${{ matrix.platform_os == 'linux' && matrix.platform_cpu == 'x64' }}
4747
env:
4848
DEBIAN_FRONTEND: noninteractive
4949
run: |
50-
sudo apt-get update && sudo apt-get install -y \
50+
apt-get update && apt-get install -y \
5151
build-essential \
5252
libc6-dev \
5353
libglib2.0-0 \
@@ -58,10 +58,10 @@ jobs:
5858
gnupg2 \
5959
software-properties-common \
6060
git
61-
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
62-
sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
63-
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
64-
sudo apt-get update && sudo apt-get install -y gh
61+
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
62+
chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
63+
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
64+
apt-get update && apt-get install -y gh
6565
6666
- uses: actions/checkout@v3
6767

0 commit comments

Comments
 (0)