Skip to content

select

select #15

Workflow file for this run

on:
push:
workflow_dispatch:
jobs:
msupdate:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get rclone Config
uses: actions/checkout@v4
with:
repository: xrgzs/rclone-action
token: ${{ secrets.RCLONE_TOKEN }}
path: bin
- name: Change DNS Server
shell: pwsh
run: |
$newDnsServers = @('1.1.1.1', '8.8.8.8')
$networkAdapters = Get-NetAdapter | Where-Object { $_.Status -eq 'Up' }
foreach ($adapter in $networkAdapters) {
Set-DnsClientServerAddress -InterfaceIndex $adapter.ifIndex -ResetServerAddresses
Set-DnsClientServerAddress -InterfaceIndex $adapter.ifIndex -ServerAddresses $newDnsServers
}
ipconfig /flushdns
- name: Big Task
shell: pwsh
run: |
$makeversion = "w1164"
.\msupdate.ps1