🍦 Update workflow

Update checkout@v3.5.0 and upload-artifact@v3.1.2
This commit is contained in:
bitcookies
2023-03-28 16:38:35 +08:00
parent cab0d5b8f1
commit 54d44c645e
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ jobs:
runs-on: windows-2022 runs-on: windows-2022
steps: steps:
- uses: actions/checkout@v3.1.0 - uses: actions/checkout@v3.5.0
- name: Get key text1 - name: Get key text1
id: text1 id: text1
@@ -33,7 +33,7 @@ jobs:
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 - name: Upload key
uses: actions/upload-artifact@v3.1.1 uses: actions/upload-artifact@v3.1.2
with: with:
name: rarreg_file name: rarreg_file
path: rarreg.key path: rarreg.key
+2 -2
View File
@@ -8,14 +8,14 @@ jobs:
runs-on: windows-2022 runs-on: windows-2022
steps: steps:
- uses: actions/checkout@v3.1.0 - uses: actions/checkout@v3.5.0
- name: Generate key - name: Generate key
shell: powershell 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 - name: Upload key
uses: actions/upload-artifact@v3.1.1 uses: actions/upload-artifact@v3.1.2
with: with:
name: rarreg_file name: rarreg_file
path: rarreg.key path: rarreg.key