Skip to content

Commit 23f691b

Browse files
authored
Fix hf-xet release workflow (#586)
hf-xet release workflow has been failing (see the last two commits into `main`) due to outdated package list. This updates the package list before installing a package.
1 parent e94270f commit 23f691b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ jobs:
8080
shopt -s expand_aliases
8181
if [[ ${{ matrix.platform.target }} == "aarch64" ]]
8282
then
83+
sudo apt-get update
8384
sudo apt-get install -y binutils-aarch64-linux-gnu
8485
alias objcopy=aarch64-linux-gnu-objcopy
8586
fi
@@ -165,6 +166,7 @@ jobs:
165166
shopt -s expand_aliases
166167
if [[ ${{ matrix.platform.target }} == "aarch64" ]]
167168
then
169+
sudo apt-get update
168170
sudo apt-get install -y binutils-aarch64-linux-gnu
169171
alias objcopy=aarch64-linux-gnu-objcopy
170172
fi

0 commit comments

Comments
 (0)