From 3aa2c46ccc17a09496c6b356e0b9f374e06cacc5 Mon Sep 17 00:00:00 2001 From: bitcookies Date: Tue, 29 Nov 2022 14:48:48 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9B=84=20Updated=20workflow=20and=20resolved?= =?UTF-8?q?=20warnings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated workflow and resolved warnings #18, and update env to windows-2022. --- .github/workflows/action.yml | 6 +++--- .github/workflows/action_secrets.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index aee376fd..7283e3f7 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -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 @@ -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 diff --git a/.github/workflows/action_secrets.yml b/.github/workflows/action_secrets.yml index d61ccc35..f201b06c 100644 --- a/.github/workflows/action_secrets.yml +++ b/.github/workflows/action_secrets.yml @@ -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