From 7a5a980ae1e577780b157675bd8746a98809b5d6 Mon Sep 17 00:00:00 2001 From: Grey Li Date: Thu, 3 Oct 2024 22:39:26 +0800 Subject: [PATCH] Fix release workflows --- .github/workflows/master_bootstrap-flask-example.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/master_bootstrap-flask-example.yml b/.github/workflows/master_bootstrap-flask-example.yml index 83d4f52..7304e28 100644 --- a/.github/workflows/master_bootstrap-flask-example.yml +++ b/.github/workflows/master_bootstrap-flask-example.yml @@ -35,7 +35,7 @@ jobs: # Optional: Add step to run tests here (PyTest, Django test suites, etc.) - name: Upload artifact for deployment jobs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4.4.0 with: name: python-app path: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1e1d6f3..5f79780 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,6 +47,6 @@ jobs: id-token: write steps: - uses: actions/download-artifact@v4.1.7 - - uses: pypa/gh-action-pypi-publish@b7f401de30cb6434a1e19f805ff006643653240e + - uses: pypa/gh-action-pypi-publish@release/v1 with: packages-dir: artifact/