winrar-keygen/.github/workflows/action_secrets.yml
bitcookies 3aa2c46ccc Updated workflow and resolved warnings
Updated workflow and resolved warnings #18, and update env to windows-2022.
2022-11-29 14:48:48 +08:00

22 lines
No EOL
480 B
YAML

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