Skip to content

Commit

Permalink
use sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCyjaneK committed Jun 27, 2024
1 parent e416679 commit 7c653a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ jobs:
docker run --rm -v $PWD:$PWD -w $PWD ghcr.io/mrcyjanek/sailfishos:4.6.0.11_target_aarch64 bash -c 'zypper in -f -y perl-IPC-Cmd curl ccache gperf cmake ffmpeg-tools git clang libxkbcommon-devel wayland-protocols-devel wayland-client wayland-egl-devel make glibc-static && git config --global --add safe.directory "*" && for i in gcc g++ ar ranlib; do ln -s /usr/bin/$i /usr/bin/aarch64-meego-linux-gnu-$i; ln -s /usr/bin/$i /usr/bin/aarch64-linux-gnu-$i; done && ./build_single.sh ${{ matrix.coin }} aarch64-meego-linux-gnu -j$(nproc)'
- name: rename artifacts
run: |
mkdir release/gh/
sudo mkdir release/gh/
for i in release/${{ matrix.coin }}/*
do
mv "$i" "release/gh/${{ matrix.coin }}_$(basename $i)"
sudo mv "$i" "release/gh/${{ matrix.coin }}_$(basename $i)"
done
- name: Release
uses: softprops/action-gh-release@v2
Expand Down Expand Up @@ -177,10 +177,10 @@ jobs:
docker run --rm -v $PWD:$PWD -w $PWD ghcr.io/mrcyjanek/sailfishos:4.6.0.11_target_i486 bash -c 'zypper in -f -y perl-IPC-Cmd curl ccache gperf cmake ffmpeg-tools git clang libxkbcommon-devel wayland-protocols-devel wayland-client wayland-egl-devel make glibc-static && git config --global --add safe.directory "*" && for i in gcc g++ ar ranlib; do ln -s /usr/bin/$i /usr/bin/i686-linux-gnu-$i; ln -s /usr/bin/$i /usr/bin/i686-meego-linux-gnu-$i; done && ./build_single.sh ${{ matrix.coin }} i686-meego-linux-gnu -j$(nproc)'
- name: rename artifacts
run: |
mkdir release/gh/
sudo mkdir release/gh/
for i in release/${{ matrix.coin }}/*
do
mv "$i" "release/gh/${{ matrix.coin }}_$(basename $i)"
sudo mv "$i" "release/gh/${{ matrix.coin }}_$(basename $i)"
done
- name: Release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 7c653a2

Please sign in to comment.