🔒 Lock virtual environment windows-2019

Lock virtual environment windows-2019
This commit is contained in:
bitcookies 2022-03-31 14:37:44 +08:00
parent 57ea4fbeb7
commit 17b98bc121
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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