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