Skip to content

Commit

Permalink
add-apt-repository --> sh -c
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Feb 3, 2025
1 parent 506f2c7 commit c0fd306
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ jobs:
steps:
- name: Configure apt
run: |
sudo add-apt-repository ppa:tobydox/mingw-w64
sudo sed -i -e "s/$(lsb_release -cs)/focal/g" \
/etc/apt/sources.list.d/tobydox-ubuntu-mingw-w64-$(lsb_release -cs).sources
sudo sh -c 'echo "deb http://ppa.launchpad.net/tobydox/mingw-w64/ubuntu focal main" > \
/etc/apt/sources.list.d/tobydox-mingw-w64.list'
sudo gpg --keyserver keyserver.ubuntu.com --recv-keys 72931B477E22FEFD47F8DECE02FE5F12ADDE29B2
sudo apt-get update -y
- name: Configure git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
Expand Down

0 comments on commit c0fd306

Please sign in to comment.