Skip to content

Commit e09ec09

Browse files
committed
fix: Ubuntu requires sudo for symlinks in /usr/bin
1 parent 5da5439 commit e09ec09

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747

4848
- name: Create dummy mingw
4949
run: |
50-
ln -s `pwd`/.github/workflows/g++-faker.py /usr/bin/i686-w64-mingw32-g++-faker
51-
ln -s `pwd`/.github/workflows/g++-faker.py /usr/bin/x86_64-w64-mingw32-g++-faker
50+
sudo ln -s `pwd`/.github/workflows/g++-faker.py /usr/bin/i686-w64-mingw32-g++-faker
51+
sudo ln -s `pwd`/.github/workflows/g++-faker.py /usr/bin/x86_64-w64-mingw32-g++-faker
5252
5353
- uses: actions/cache@v2
5454
id: cacheNDI

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050

5151
- name: Create dummy mingw
5252
run: |
53-
ln -s `pwd`/.github/workflows/g++-faker.py /usr/bin/i686-w64-mingw32-g++-faker
54-
ln -s `pwd`/.github/workflows/g++-faker.py /usr/bin/x86_64-w64-mingw32-g++-faker
53+
sudo ln -s `pwd`/.github/workflows/g++-faker.py /usr/bin/i686-w64-mingw32-g++-faker
54+
sudo ln -s `pwd`/.github/workflows/g++-faker.py /usr/bin/x86_64-w64-mingw32-g++-faker
5555
5656
- uses: actions/cache@v2
5757
id: cacheNDI

0 commit comments

Comments
 (0)