Skip to content

Commit

Permalink
Merge pull request fastmail#21 from bigio/github-actions
Browse files Browse the repository at this point in the history
use sudo(8) when needed in Github Actions
  • Loading branch information
marcbradshaw authored Aug 14, 2024
2 parents 9d783d8 + 365a531 commit 8cd8323
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
run: |
sudo apt-get update
sudo apt-get -y install libmodule-build-perl libnet-dns-perl libnetaddr-ip-perl libnet-dns-resolver-programmable-perl libtest-pod-perl liburi-perl cpanminus libdist-zilla-perl
cpanm -n Mail::SPF::Test
dzil authordeps --missing | cpanm
sudo cpanm -n Mail::SPF::Test
dzil authordeps --missing | sudo cpanm
hash -r
cpanm --installdeps --notest . || echo "warn: errors installing required cpan modules have been ignored"
sudo cpanm --installdeps --notest . || echo "warn: errors installing required cpan modules have been ignored"
- name: build
run: |
dzil build
Expand Down

0 comments on commit 8cd8323

Please sign in to comment.