From 17b98bc12120bcd765413639d726a82a1e14340a Mon Sep 17 00:00:00 2001 From: bitcookies Date: Thu, 31 Mar 2022 14:37:44 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=92=20Lock=20virtual=20environment=20w?= =?UTF-8?q?indows-2019?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lock virtual environment windows-2019 --- .github/workflows/action.yml | 4 ++-- .github/workflows/action_secrets.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index e374714..aee376f 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -9,7 +9,7 @@ on: jobs: build: - runs-on: windows-latest + runs-on: windows-2019 steps: - uses: actions/checkout@v2.4.0 @@ -30,7 +30,7 @@ jobs: - name: Generate key shell: powershell - run: bin/x64-Release/winrar-keygen.exe "${{steps.text1.outputs.prop}}" "${{steps.text2.outputs.prop}}" | out-file -encoding ascii rarreg.key + run: bin/x64-Release/winrar-keygen.exe "${{steps.text1.outputs.prop}}" "${{steps.text2.outputs.prop}}" | Out-File -Encoding ASCII rarreg.key - name: Upload key uses: actions/upload-artifact@v2.3.1 diff --git a/.github/workflows/action_secrets.yml b/.github/workflows/action_secrets.yml index 71da16e..d61ccc3 100644 --- a/.github/workflows/action_secrets.yml +++ b/.github/workflows/action_secrets.yml @@ -5,14 +5,14 @@ on: workflow_dispatch jobs: build: - runs-on: windows-latest + runs-on: windows-2019 steps: - uses: actions/checkout@v2.4.0 - name: Generate key shell: powershell - run: bin/x64-Release/winrar-keygen.exe "${{secrets.TEXT1}}" "${{secrets.TEXT2}}" | out-file -encoding ascii rarreg.key + run: bin/x64-Release/winrar-keygen.exe "${{secrets.TEXT1}}" "${{secrets.TEXT2}}" | Out-File -Encoding ASCII rarreg.key - name: Upload key uses: actions/upload-artifact@v2.3.1