From 43ba191ac522d438b2a69e30a6863d029c5bf4ce Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Mon, 5 Jun 2023 17:49:53 +0100 Subject: [PATCH] Update GitHub Actions To resolve deprecation warnings in workflows. --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73716d4..656b382 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: python-version: [3.7] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 @@ -37,7 +37,7 @@ jobs: echo "::set-output name=architecture::$PLATFORM" - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} architecture: ${{ steps.get-python-architecture.outputs.architecture }} @@ -81,7 +81,7 @@ jobs: echo "::set-output name=filename::libloot-python-${VERSION}-${PLATFORM}.zip" - name: Upload archive - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ steps.build-archive.outputs.filename }} path: build/package/${{ steps.build-archive.outputs.filename }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8dca7b2..c466f8b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,12 +39,12 @@ jobs: python-version: [3.7] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }}