Skip to content

Commit

Permalink
⛄ Updated workflow and resolved warnings
Browse files Browse the repository at this point in the history
Updated workflow and resolved warnings bitcookies#18, and update env to windows-2022.
  • Loading branch information
bitcookies committed Nov 29, 2022
1 parent 42f7492 commit 3aa2c46
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
jobs:
build:

runs-on: windows-2019
runs-on: windows-2022

steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3.1.0

- name: Get key text1
id: text1
Expand All @@ -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

- name: Upload key
uses: actions/upload-artifact@v2.3.1
uses: actions/upload-artifact@v3.1.1
with:
name: rarreg_file
path: rarreg.key
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/action_secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ on: workflow_dispatch
jobs:
build:

runs-on: windows-2019
runs-on: windows-2022

steps:
- uses: actions/checkout@v2.4.0
- 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@v2.3.1
uses: actions/upload-artifact@v3.1.1
with:
name: rarreg_file
path: rarreg.key
Expand Down

0 comments on commit 3aa2c46

Please sign in to comment.