From 537a0db75d4df6cbe665e103a57cb8ae22e4facf Mon Sep 17 00:00:00 2001 From: Russell Martin Date: Wed, 3 Jan 2024 17:20:16 -0500 Subject: [PATCH 1/3] Upgrade `upload-artifact` and `download-artifact` actions to v4 --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 2 +- .gitignore | 2 +- changes/124.misc.rst | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 changes/124.misc.rst diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3523c8..2905e32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12-dev"] + python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12-dev" ] include: - experimental: false @@ -47,8 +47,8 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Get packages - uses: actions/download-artifact@v3.0.2 + - name: Get Packages + uses: actions/download-artifact@v4.1.0 with: name: ${{ needs.package.outputs.artifact-name }} path: dist diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8432d1e..bd93a20 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: python-version: "3.x" - name: Get packages - uses: actions/download-artifact@v3.0.2 + uses: actions/download-artifact@v4.1.0 with: name: ${{ needs.ci.outputs.artifact-name }} path: dist diff --git a/.gitignore b/.gitignore index 0b5784b..c16d3d4 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,6 @@ distribute-* .coverage .tox .vscode -venv +venv* .idea pip-wheel-metadata diff --git a/changes/124.misc.rst b/changes/124.misc.rst new file mode 100644 index 0000000..eeb17f0 --- /dev/null +++ b/changes/124.misc.rst @@ -0,0 +1 @@ +The ``upload-artifact`` and ``download-artifact`` CI actions were upgraded to v4. From 5674327feebbf1f6caed44aa5d81beb5e2898c29 Mon Sep 17 00:00:00 2001 From: Russell Martin Date: Wed, 3 Jan 2024 17:25:42 -0500 Subject: [PATCH 2/3] Test artifact actions upgrades with beeware/.github#78 --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2905e32..a761e27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,8 @@ jobs: package: name: Python Package - uses: beeware/.github/.github/workflows/python-package-create.yml@main +# uses: beeware/.github/.github/workflows/python-package-create.yml@main + uses: rmartin16/.github-beeware/.github/workflows/python-package-create.yml@artifacts unit-tests: name: Python compatibility test From 08197e762875ccd7c0bbaa68a29f6174aba321f6 Mon Sep 17 00:00:00 2001 From: Russell Martin Date: Wed, 3 Jan 2024 17:38:20 -0500 Subject: [PATCH 3/3] Restore workflows calls to beeware/.github@main --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a761e27..2905e32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,8 +21,7 @@ jobs: package: name: Python Package -# uses: beeware/.github/.github/workflows/python-package-create.yml@main - uses: rmartin16/.github-beeware/.github/workflows/python-package-create.yml@artifacts + uses: beeware/.github/.github/workflows/python-package-create.yml@main unit-tests: name: Python compatibility test