From 019d90921a30ec21ae33f88dd74c6fec1854a837 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Thu, 10 Mar 2022 21:29:51 +0200 Subject: [PATCH 1/3] Upload rendered PEPs as GitHub artifact --- .github/workflows/render.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/render.yml b/.github/workflows/render.yml index c208e91c5e8..d8be178bb69 100644 --- a/.github/workflows/render.yml +++ b/.github/workflows/render.yml @@ -9,12 +9,12 @@ jobs: steps: - name: 🛎️ Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 # fetch all history so that last modified date-times are accurate - name: 🐍 Set up Python 3 - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: '3.x' cache: "pip" @@ -39,3 +39,9 @@ jobs: branch: gh-pages # The branch to deploy to. folder: build # Synchronise with build.py -> build_directory single-commit: true # Delete existing files + + - name: 📦 Upload built PEPs as zipped artifact + uses: actions/upload-artifact@v3 + with: + name: peps + path: build From 408a62ed772afcde261e8289d3aa1a1fd70b1410 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Thu, 10 Mar 2022 21:51:26 +0200 Subject: [PATCH 2/3] Bump actions to v3 --- .github/workflows/lint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ee5cd980ec4..dcb14b7ae6d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,10 +9,10 @@ jobs: steps: - name: Check out repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python 3 - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: '3.x' From 1e800b3b288cd7adba273437704abc07d20a7385 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Thu, 10 Mar 2022 23:01:52 +0200 Subject: [PATCH 3/3] Keep artifact for 7 days instead of 90 --- .github/workflows/render.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/render.yml b/.github/workflows/render.yml index d8be178bb69..36b32534186 100644 --- a/.github/workflows/render.yml +++ b/.github/workflows/render.yml @@ -45,3 +45,4 @@ jobs: with: name: peps path: build + retention-days: 7