winrar-keygen/.github/workflows/action_secrets.yml
2023-10-07 16:08:11 +08:00

22 lines
480 B
YAML

name: WinRAR Keygen Secrets
on: workflow_dispatch
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3.5.3
- name: Generate key
shell: powershell
run: bin/x64-Release/winrar-keygen.exe "${{secrets.TEXT1}}" "${{secrets.TEXT2}}" | Out-File -Encoding utf8 rarreg.key
- name: Upload key
uses: actions/upload-artifact@v3.1.2
with:
name: rarreg_file
path: rarreg.key
retention-days: 90