Skip to content

Commit

Permalink
ci: No need sudo in container
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Sep 3, 2023
1 parent 28e3e08 commit 599174f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:

- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y cmake libmagic-dev rclone zip imagemagick libmagic-dev git build-essential g++ wget
apt-get update && apt-get install -y cmake libmagic-dev rclone zip imagemagick libmagic-dev git build-essential g++ wget
- name: Preparing build environment
run: |
(rm -rf release || true) && (rm -rf _build || true) && (sudo rm -rf /root/.mix)
(rm -rf release || true) && (rm -rf _build || true) && (rm -rf /root/.mix)
echo "import Config" > config/prod.secret.exs
mix local.hex --force && mix local.rebar --force
echo "PLEROMA_BUILD_BRANCH=$(git rev-parse --short "$GITHUB_SHA")" >> $GITHUB_ENV
Expand Down

0 comments on commit 599174f

Please sign in to comment.