-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Switch from action to use
gh
CLI
- Loading branch information
1 parent
0531ae5
commit bb6e6b9
Showing
1 changed file
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,16 +95,20 @@ jobs: | |
- name: Checkout extensions | ||
uses: actions/checkout@v4 | ||
|
||
- name: Download containerd release v${{ matrix.containerd }} archive | ||
uses: robinraju/[email protected] | ||
with: | ||
repository: "containerd/containerd" | ||
tag: v${{ matrix.containerd }} | ||
fileName: "containerd-${{ matrix.containerd }}-linux-amd64.tar.gz" | ||
extract: true | ||
- name: Download containerd archive | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
gh release download v${{ matrix.containerd }} \ | ||
--repo containerd/containerd \ | ||
--pattern 'containerd-${{ matrix.containerd }}-linux-amd64.tar.gz' \ | ||
--output containerd.tar.gz | ||
- name: Add containerd binaries to PATH | ||
run: echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH | ||
- name: Extract containerd binaries to $HOME/.local/bin | ||
run: | | ||
mkdir -p $HOME/.local/bin | ||
echo "$HOME/.local/bin" >> $GITHUB_PATH | ||
tar -xf containerd.tar.gz -C $HOME/.local | ||
- name: Checkout containerd | ||
uses: actions/checkout@v4 | ||
|