Skip to content

Commit

Permalink
Add necessary sudo in Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
animetosho committed Dec 30, 2023
1 parent 2fc8de4 commit c32ff7b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-dev-mac-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
# workaround issue with OpenSSL 3.0.2 on 22.04: https://github.com/tpoechtrager/osxcross/issues/349
# issue is fixed in 3.0.7, so grab 3.0.8 from Ubuntu 23.04
- run: |
echo 'deb http://archive.ubuntu.com/ubuntu/ lunar main' >>/etc/apt/sources.list.d/lunar.list
echo 'APT::Default-Release "jammy";' >>/etc/apt/apt.conf
apt update
apt -t=lunar -y install openssl
echo 'deb http://archive.ubuntu.com/ubuntu/ lunar main' | sudo tee -a /etc/apt/sources.list.d/lunar.list >/dev/null
echo 'APT::Default-Release "jammy";' | sudo tee -a /etc/apt/apt.conf >/dev/null
sudo apt update
sudo apt -t=lunar -y install openssl
- uses: mbround18/setup-osxcross@main # OSXCROSS_TARGET unavailable in v1.1
with:
osx-version: "12.3"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ jobs:
# workaround issue with OpenSSL 3.0.2 on 22.04: https://github.com/tpoechtrager/osxcross/issues/349
# issue is fixed in 3.0.7, so grab 3.0.8 from Ubuntu 23.04
- run: |
echo 'deb http://archive.ubuntu.com/ubuntu/ lunar main' >>/etc/apt/sources.list.d/lunar.list
echo 'APT::Default-Release "jammy";' >>/etc/apt/apt.conf
apt update
apt -t=lunar -y install openssl
echo 'deb http://archive.ubuntu.com/ubuntu/ lunar main' | sudo tee -a /etc/apt/sources.list.d/lunar.list >/dev/null
echo 'APT::Default-Release "jammy";' | sudo tee -a /etc/apt/apt.conf >/dev/null
sudo apt update
sudo apt -t=lunar -y install openssl
- uses: mbround18/setup-osxcross@main # OSXCROSS_TARGET unavailable in v1.1
with:
osx-version: "12.3"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ jobs:
# workaround issue with OpenSSL 3.0.2 on 22.04: https://github.com/tpoechtrager/osxcross/issues/349
# issue is fixed in 3.0.7, so grab 3.0.8 from Ubuntu 23.04
- run: |
echo 'deb http://archive.ubuntu.com/ubuntu/ lunar main' >>/etc/apt/sources.list.d/lunar.list
echo 'APT::Default-Release "jammy";' >>/etc/apt/apt.conf
apt update
apt -t=lunar -y install openssl
echo 'deb http://archive.ubuntu.com/ubuntu/ lunar main' | sudo tee -a /etc/apt/sources.list.d/lunar.list >/dev/null
echo 'APT::Default-Release "jammy";' | sudo tee -a /etc/apt/apt.conf >/dev/null
sudo apt update
sudo apt -t=lunar -y install openssl
- uses: mbround18/setup-osxcross@main # OSXCROSS_TARGET unavailable in v1.1
with:
osx-version: "12.3"
Expand Down

0 comments on commit c32ff7b

Please sign in to comment.