Skip to content

Commit

Permalink
Merge pull request #1170 from SpiNNakerManchester/dns
Browse files Browse the repository at this point in the history
set dns
  • Loading branch information
Christian-B authored Aug 28, 2024
2 parents ffbd0fa + f3fe94c commit 47ebc5c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ jobs:
java-version: ${{ matrix.java }}
cache: 'maven'

- name: Set dns server
run: |
sudo sed -i 's/#DNS=/DNS=8.8.8.8 8.8.4.4/g' /etc/systemd/resolved.conf
sudo systemctl daemon-reload
sudo systemctl restart systemd-networkd
sudo systemctl restart systemd-resolved
- name: Build with Java ${{ matrix.java }}
run: mvn install --settings $SETTINGS_FILE -DskipTests=true -Dmaven.javadoc.skip=true
- name: "Check: Test"
Expand Down

0 comments on commit 47ebc5c

Please sign in to comment.