From 52da18096a809af70ae83305e5854d94e0f517e5 Mon Sep 17 00:00:00 2001 From: Andrew Glaude Date: Mon, 16 Sep 2024 14:14:00 -0400 Subject: [PATCH 1/3] bump to latest checkout action --- .github/workflows/docker.yml | 2 +- .github/workflows/publish_pypi.yml | 4 ++-- .github/workflows/releasenote.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 64183429..ddc7de29 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -11,7 +11,7 @@ jobs: packages: write if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v2 diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 74cb1a20..b6f083de 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Include all history and tags with: fetch-depth: 0 @@ -35,7 +35,7 @@ jobs: name: Build source distribution runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Include all history and tags with: fetch-depth: 0 diff --git a/.github/workflows/releasenote.yml b/.github/workflows/releasenote.yml index 7948b1d5..687bb880 100644 --- a/.github/workflows/releasenote.yml +++ b/.github/workflows/releasenote.yml @@ -12,7 +12,7 @@ jobs: name: Validate release notes runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Include all history and tags with: fetch-depth: 0 From 95e7b62104beda03aaec8fd648a4284ea9bdfce4 Mon Sep 17 00:00:00 2001 From: Andrew Glaude Date: Mon, 16 Sep 2024 14:26:40 -0400 Subject: [PATCH 2/3] upload artifact job to v4 --- .github/workflows/publish_pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index b6f083de..27d13403 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -27,7 +27,7 @@ jobs: pip install wheel pip wheel --no-deps -w dist . - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: path: dist/*.whl @@ -49,7 +49,7 @@ jobs: run: | python setup.py sdist - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: path: dist/*.tar.gz From 79865833fdad9d73a839f5ae94b54cbd899d210f Mon Sep 17 00:00:00 2001 From: Andrew Glaude Date: Mon, 16 Sep 2024 14:34:43 -0400 Subject: [PATCH 3/3] Give source dist uploaded artifact a name --- .github/workflows/publish_pypi.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 27d13403..e564a48b 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -51,6 +51,7 @@ jobs: - uses: actions/upload-artifact@v4 with: + name: sdist path: dist/*.tar.gz upload_pypi: @@ -60,7 +61,7 @@ jobs: steps: - uses: actions/download-artifact@v2 with: - name: artifact + name: sdist path: dist - uses: pypa/gh-action-pypi-publish@master