Skip to content

Commit

Permalink
Fix apt usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes committed Oct 9, 2023
1 parent a29896d commit 3c7ff9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/actions/run-backend-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ runs:
- name: Install SAML (python3-saml) dependencies
shell: bash
run: |
apt update
apt install libxml2-dev libxmlsec1-dev libxmlsec1-openssl
sudo apt-get update && sudo apt-get install libxml2-dev libxmlsec1-dev libxmlsec1-openssl
- uses: syphar/restore-virtualenv@v1
id: cache-backend-tests
Expand All @@ -74,7 +73,7 @@ runs:
# This is not cached currently, as it's important to build the current HEAD version (we can't just look at
# requirements.txt, which only has the published version) and caching just one package is not worth the effort
run: |
apt install libboost-all-dev unzip cmake curl uuid pkg-config
sudo apt-get install libboost-all-dev unzip cmake curl uuid pkg-config
curl https://www.antlr.org/download/antlr4-cpp-runtime-4.13.1-source.zip --output antlr4-source.zip
unzip antlr4-source.zip -d antlr4-source && cd antlr4-source
cmake .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/storybook-chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
# If added or modified, run OptiPNG
if [ $ADDED -gt 0 ] || [ $MODIFIED -gt 0 ]; then
echo "Snapshots updated ($ADDED new, $MODIFIED changed), running OptiPNG"
apt update && apt install -y optipng
sudo apt-get update && sudo apt-get install -y optipng
optipng -clobber -o4 -strip all
# we don't want to _always_ run OptiPNG
Expand Down

0 comments on commit 3c7ff9f

Please sign in to comment.