mirror of
https://github.com/bitcookies/winrar-keygen.git
synced 2026-03-11 17:45:31 +00:00
commit
f20f726a26
1 changed files with 2 additions and 15 deletions
17
.github/workflows/action.yml
vendored
17
.github/workflows/action.yml
vendored
|
|
@ -1,6 +1,7 @@
|
|||
name: WinRAR Keygen
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
|
|
@ -13,24 +14,10 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Get key text1
|
||||
id: text1
|
||||
uses: notiz-dev/github-action-json-property@release
|
||||
with:
|
||||
path: 'keygen/info.json'
|
||||
prop_path: 'text1'
|
||||
|
||||
- name: Get key text2
|
||||
id: text2
|
||||
uses: notiz-dev/github-action-json-property@release
|
||||
with:
|
||||
path: 'keygen/info.json'
|
||||
prop_path: 'text2'
|
||||
|
||||
- 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 "${{secrets.TEXT1}}" "${{secrets.TEXT2}}" | out-file -encoding ascii rarreg.key
|
||||
|
||||
- name: Upload key
|
||||
uses: actions/upload-artifact@v2
|
||||
|
|
|
|||
Loading…
Reference in a new issue