Skip to content

Commit

Permalink
added DisableSandbox in actions/config-pacman-repository #10
Browse files Browse the repository at this point in the history
  • Loading branch information
petronny committed Dec 27, 2024
1 parent 9c713ef commit c62165e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/builder_self_hosted_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,7 @@ jobs:
run: echo "$(realpath cactus/builder/bin)" >> $GITHUB_PATH

- name: Download dependencies
run: |
# See https://github.com/arch4edu/cactus/issues/10
sed 's/^#DisableSandbox/DisableSandbox/' -i /etc/pacman.conf || :
python -m cactus.builder.download-depends repository ${{ github.event.inputs.pkgbase }}
run: python -m cactus.builder.download-depends repository ${{ github.event.inputs.pkgbase }}

- name: Collect telemetry
uses: catchpoint/workflow-telemetry-action@master
Expand Down
1 change: 1 addition & 0 deletions actions/config-pacman-repository/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ runs:
echo [options] >> /etc/pacman.conf
echo [${{ inputs.pacman-repository }}] >> /etc/pacman.conf
echo Include = /etc/pacman.d/mirrorlist.${{ inputs.pacman-repository }} >> /etc/pacman.conf
sed 's/^#DisableSandbox/DisableSandbox/' -i /etc/pacman.conf || :
sed 's/#//' -i mirrorlist/*mirrorlist*
rankmirrors -r ${{ inputs.pacman-repository }} mirrorlist/*mirrorlist* | sed -n '/^#/b;p' | tee /etc/pacman.d/mirrorlist.${{ inputs.pacman-repository }}
pacman -Sy

0 comments on commit c62165e

Please sign in to comment.