mirror of
https://github.com/bitcookies/winrar-keygen.git
synced 2026-04-21 16:41:56 +00:00
⛄ Updated workflow and resolved warnings
Updated workflow and resolved warnings #18, and update env to windows-2022.
This commit is contained in:
parent
42f7492bd5
commit
3aa2c46ccc
2 changed files with 6 additions and 6 deletions
6
.github/workflows/action.yml
vendored
6
.github/workflows/action.yml
vendored
|
|
@ -9,10 +9,10 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: windows-2019
|
runs-on: windows-2022
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.4.0
|
- uses: actions/checkout@v3.1.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@v2.3.1
|
uses: actions/upload-artifact@v3.1.1
|
||||||
with:
|
with:
|
||||||
name: rarreg_file
|
name: rarreg_file
|
||||||
path: rarreg.key
|
path: rarreg.key
|
||||||
|
|
|
||||||
6
.github/workflows/action_secrets.yml
vendored
6
.github/workflows/action_secrets.yml
vendored
|
|
@ -5,17 +5,17 @@ on: workflow_dispatch
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: windows-2019
|
runs-on: windows-2022
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.4.0
|
- uses: actions/checkout@v3.1.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@v2.3.1
|
uses: actions/upload-artifact@v3.1.1
|
||||||
with:
|
with:
|
||||||
name: rarreg_file
|
name: rarreg_file
|
||||||
path: rarreg.key
|
path: rarreg.key
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue