Skip to content

Commit 0525dce

Browse files
authored
👷 ci: scope the nushell apt key to its own repo (#3253)
1 parent aa8323a commit 0525dce

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎.github/workflows/check.yaml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,12 @@ jobs:
128128
}
129129
retry sudo apt-get install -y software-properties-common
130130
retry sudo apt-add-repository ppa:fish-shell/release-4 -y
131+
sudo install -m 0755 -d /etc/apt/keyrings
131132
curl -fsSL --retry 5 --retry-all-errors --retry-delay 10 https://apt.fury.io/nushell/gpg.key \
132-
| sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/fury-nushell.gpg
133-
echo "deb https://apt.fury.io/nushell/ /" | sudo tee /etc/apt/sources.list.d/fury.list
133+
| sudo gpg --dearmor -o /etc/apt/keyrings/fury-nushell.gpg
134+
sudo chmod 0644 /etc/apt/keyrings/fury-nushell.gpg
135+
echo "deb [signed-by=/etc/apt/keyrings/fury-nushell.gpg] https://apt.fury.io/nushell/ /" \
136+
| sudo tee /etc/apt/sources.list.d/fury.list
134137
retry sudo apt-get update -y
135138
retry sudo apt-get install snapd fish csh nushell -y
136139
elif [ "${{ runner.os }}" = "macOS" ]; then

0 commit comments

Comments
 (0)