Skip to content

Commit

Permalink
ci: Use sudo for cleanup and moving musl cross-compilation tools in r…
Browse files Browse the repository at this point in the history
…elease workflow

Signed-off-by: Eden Reich <[email protected]>
  • Loading branch information
edenreich committed Feb 13, 2025
1 parent 0821ce5 commit 3dd974f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,13 @@ jobs:
git \
musl-tools \
libssl-dev \
&& rm -rf /var/lib/apt/lists/* \
&& sudo rm -rf /var/lib/apt/lists/* \
&& cd /tmp \
&& wget https://musl.cc/x86_64-linux-musl-cross.tgz \
&& wget https://musl.cc/aarch64-linux-musl-cross.tgz \
&& tar -xzf x86_64-linux-musl-cross.tgz \
&& tar -xzf aarch64-linux-musl-cross.tgz \
&& mv x86_64-linux-musl-cross aarch64-linux-musl-cross /opt/ \
&& sudo mv x86_64-linux-musl-cross aarch64-linux-musl-cross /opt/ \
&& rm -rf *.tgz
- name: Build binary for ${{ matrix.target }}
Expand Down

0 comments on commit 3dd974f

Please sign in to comment.