From ebb56a8a79d845f72b247c520ca283973501a63e Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Fri, 19 Aug 2022 13:01:05 +0300 Subject: [PATCH 1/3] Fix artifact upload patterns. actions/glob doesn't appear to support |. See https://github.com/actions/toolkit/tree/main/packages/glob#glob-behavior --- .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 ddfeb25f..ac611e39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,5 +12,6 @@ jobs: - uses: actions/upload-artifact@v2 with: path: | - *.(html|txt) + *.html + *.txt !requirements.txt From 1a9860a4fea76a1dde46745b5bb61516b38d23c6 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Fri, 19 Aug 2022 13:02:47 +0300 Subject: [PATCH 2/3] Install a specific Python version rather than relying on PATH. And bump the upload-artifact version to the latest. --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac611e39..cdac269b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,10 +6,13 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.10" - run: pip install --requirement requirements.txt - run: xml2rfc --version - run: make all - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: path: | *.html From 65674edfa391561e354ca2c8092c2acc0f62cea6 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Fri, 19 Aug 2022 13:06:05 +0300 Subject: [PATCH 3/3] Name the resulting artifact. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cdac269b..808aff16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,7 @@ jobs: - run: make all - uses: actions/upload-artifact@v3 with: + name: specification-docs path: | *.html *.txt