From a49bb2c53a3a57d84e0b31800c51d1c8925bfd4e Mon Sep 17 00:00:00 2001 From: Ciaran Ryan-Anderson Date: Mon, 16 Dec 2024 22:32:50 -0700 Subject: [PATCH 1/3] Turn on artifact generation --- .github/workflows/python-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index 7155f5b09..86635bbf4 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -1,7 +1,7 @@ name: Python Artifacts env: - TRIGGER_ON_PR_PUSH: false # Set to true to enable triggers on PR pushes + TRIGGER_ON_PR_PUSH: true # Set to true to enable triggers on PR pushes PYTHON_VERSION: '3.10' on: From 510ee07be0fa2751cc9893671d2ea664d1eaffa0 Mon Sep 17 00:00:00 2001 From: Ciaran Ryan-Anderson Date: Mon, 16 Dec 2024 22:47:27 -0700 Subject: [PATCH 2/3] More ignoring of cache issues in python-release.yml --- .github/workflows/python-release.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index 86635bbf4..6ff6005a7 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -139,6 +139,11 @@ jobs: uses: astral-sh/setup-uv@v4 with: enable-cache: true + ignore-nothing-to-cache: true + cache-dependency-glob: | + **/pyproject.toml + **/requirements*.txt + **/uv.lock - name: Remove conflicting README.md run: | @@ -196,6 +201,11 @@ jobs: uses: astral-sh/setup-uv@v4 with: enable-cache: true + ignore-nothing-to-cache: true + cache-dependency-glob: | + **/pyproject.toml + **/requirements*.txt + **/uv.lock - name: Download pecos-rslib wheel uses: actions/download-artifact@v4 @@ -251,6 +261,11 @@ jobs: uses: astral-sh/setup-uv@v4 with: enable-cache: true + ignore-nothing-to-cache: true + cache-dependency-glob: | + **/pyproject.toml + **/requirements*.txt + **/uv.lock - name: Download pecos-rslib wheel uses: actions/download-artifact@v4 From 086ff04a48410478c6ed9a06883f80901fbc7dfd Mon Sep 17 00:00:00 2001 From: Ciaran Ryan-Anderson Date: Mon, 16 Dec 2024 22:53:06 -0700 Subject: [PATCH 3/3] Turning the trigger off again --- .github/workflows/python-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index 6ff6005a7..396d0a708 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -1,7 +1,7 @@ name: Python Artifacts env: - TRIGGER_ON_PR_PUSH: true # Set to true to enable triggers on PR pushes + TRIGGER_ON_PR_PUSH: false # Set to true to enable triggers on PR pushes PYTHON_VERSION: '3.10' on: