forked from bitcookies/winrar-keygen
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 896 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: WinRAR Keygen
on:
push:
branches: [ master ]
paths:
- 'keygen/*.json'
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/[email protected]
- 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
- name: Upload key
uses: actions/[email protected]
with:
name: rarreg_file
path: rarreg.key
retention-days: 90