Skip to content

Commit

Permalink
DNS=8.8.8.8 8.8.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Aug 27, 2024
1 parent 411664c commit 931f40e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ runs:
shell: bash
if: runner.os == 'Linux'
run: |
cat /etc/resolv.conf
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: Create cfg
if: ${{ inputs.cfg_file != '' }}
Expand Down

0 comments on commit 931f40e

Please sign in to comment.