From b1e0a41ac6b61f2f79fc6bb666720dfd7c7c7303 Mon Sep 17 00:00:00 2001 From: Lonsomem <62533807+Lonsomem@users.noreply.github.com> Date: Sun, 9 Jul 2023 16:48:48 +0900 Subject: [PATCH 01/10] Update python.yaml --- .github/workflows/python.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 2715676..1c7f5e0 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8"] + python-version: ["3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v3 @@ -17,3 +17,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: Display Python version run: python -c "import sys; print(sys.version)" + - name: Upload Artifacts + uses: actions/upload-Artifact@v3 + with: + name: python${{ matrix.python-verson }}_artifact + From a003cb3b9949ece622dc188773d64450abb459d3 Mon Sep 17 00:00:00 2001 From: Lonsomem <62533807+Lonsomem@users.noreply.github.com> Date: Sun, 9 Jul 2023 16:58:30 +0900 Subject: [PATCH 02/10] Update python.yaml --- .github/workflows/python.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 1c7f5e0..484aaf3 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -17,8 +17,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: Display Python version run: python -c "import sys; print(sys.version)" - - name: Upload Artifacts + - name: Upload Artifacts uses: actions/upload-Artifact@v3 with: - name: python${{ matrix.python-verson }}_artifact - + name: python${{ matrix.python-version }}_artifact + path: python${{ matrix.python-version }}_artifact From fb60bdc77e40aa0d457f2748b2eecadc5cc99a9f Mon Sep 17 00:00:00 2001 From: Lonsomem <62533807+Lonsomem@users.noreply.github.com> Date: Sun, 9 Jul 2023 17:09:28 +0900 Subject: [PATCH 03/10] Update python.yaml --- .github/workflows/python.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 484aaf3..bf40da9 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -17,8 +17,12 @@ jobs: python-version: ${{ matrix.python-version }} - name: Display Python version run: python -c "import sys; print(sys.version)" + - name: Generate Artifacts + run: | + mkdir python${{ matrix.python-version }}_artifact + echo "This is an artifact file for Python ${{ matrix.python-version }}" > python${{ matrix.python-version }}_artifact/artifact.txt - name: Upload Artifacts - uses: actions/upload-Artifact@v3 + uses: actions/upload-artifact@v2 with: name: python${{ matrix.python-version }}_artifact path: python${{ matrix.python-version }}_artifact From 8d6940d7d8555275c5fbe009d602542f31022255 Mon Sep 17 00:00:00 2001 From: Lonsomem <62533807+Lonsomem@users.noreply.github.com> Date: Sun, 9 Jul 2023 17:15:47 +0900 Subject: [PATCH 04/10] Update python.yaml --- .github/workflows/python.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index bf40da9..287fff2 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -4,10 +4,11 @@ on: workflow_dispatch jobs: build: + runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.8"] steps: - uses: actions/checkout@v3 @@ -16,13 +17,11 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Display Python version - run: python -c "import sys; print(sys.version)" - - name: Generate Artifacts + id: display-version run: | - mkdir python${{ matrix.python-version }}_artifact - echo "This is an artifact file for Python ${{ matrix.python-version }}" > python${{ matrix.python-version }}_artifact/artifact.txt + echo "::set-output name=version::$(python -c 'import sys; print(sys.version)')" - name: Upload Artifacts uses: actions/upload-artifact@v2 with: name: python${{ matrix.python-version }}_artifact - path: python${{ matrix.python-version }}_artifact + path: ${{ github.workspace }}/python${{ matrix.python-version }}_artifact From c7d0fe2edac41ef6f3d93e61b917c46f0d52366c Mon Sep 17 00:00:00 2001 From: Lonsomem <62533807+Lonsomem@users.noreply.github.com> Date: Sun, 9 Jul 2023 17:18:18 +0900 Subject: [PATCH 05/10] Update python.yaml --- .github/workflows/python.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 287fff2..7a2063b 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -24,4 +24,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: python${{ matrix.python-version }}_artifact - path: ${{ github.workspace }}/python${{ matrix.python-version }}_artifact + path: python${{ matrix.python-version }}_artifact From 19a34c6b5148bdd96136076b179b2054e4cf7c63 Mon Sep 17 00:00:00 2001 From: Lonsomem <62533807+Lonsomem@users.noreply.github.com> Date: Sun, 9 Jul 2023 17:22:56 +0900 Subject: [PATCH 06/10] Update python.yaml --- .github/workflows/python.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 7a2063b..e30d56c 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -4,11 +4,10 @@ on: workflow_dispatch jobs: build: - runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8"] + python-version: ["3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v3 @@ -20,8 +19,12 @@ jobs: id: display-version run: | echo "::set-output name=version::$(python -c 'import sys; print(sys.version)')" + - name: Create Artifact Directory + run: mkdir -p artifacts/python${{ matrix.python-version }}_artifact + - name: Save Python version to file + run: echo "${{ steps.display-version.outputs.version }}" > artifacts/python${{ matrix.python-version }}_artifact/python_version.txt - name: Upload Artifacts uses: actions/upload-artifact@v2 with: name: python${{ matrix.python-version }}_artifact - path: python${{ matrix.python-version }}_artifact + path: artifacts/python${{ matrix.python-version }}_artifact From 0a4c6f79e39bb4c9410cf79d41977acffac90349 Mon Sep 17 00:00:00 2001 From: Lonsomem <62533807+Lonsomem@users.noreply.github.com> Date: Sun, 9 Jul 2023 17:27:21 +0900 Subject: [PATCH 07/10] Update python.yaml --- .github/workflows/python.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index e30d56c..4e9b065 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -17,14 +17,9 @@ jobs: python-version: ${{ matrix.python-version }} - name: Display Python version id: display-version - run: | - echo "::set-output name=version::$(python -c 'import sys; print(sys.version)')" - - name: Create Artifact Directory - run: mkdir -p artifacts/python${{ matrix.python-version }}_artifact - - name: Save Python version to file - run: echo "${{ steps.display-version.outputs.version }}" > artifacts/python${{ matrix.python-version }}_artifact/python_version.txt + run: python -c "import sys; open('python_version.txt', 'w').write(sys.version)" - name: Upload Artifacts uses: actions/upload-artifact@v2 with: name: python${{ matrix.python-version }}_artifact - path: artifacts/python${{ matrix.python-version }}_artifact + path: python_version.txt From eb063049f1d74af905e317c31ee68993af380846 Mon Sep 17 00:00:00 2001 From: Lonsomem <62533807+Lonsomem@users.noreply.github.com> Date: Mon, 10 Jul 2023 01:15:59 +0900 Subject: [PATCH 08/10] Update python.yaml --- .github/workflows/python.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 4e9b065..61d80ee 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -17,7 +17,9 @@ jobs: python-version: ${{ matrix.python-version }} - name: Display Python version id: display-version - run: python -c "import sys; open('python_version.txt', 'w').write(sys.version)" + run: | + python -c "import sys; print(sys.version)" + python -c "import sys; open('python_version.txt', 'w').write(sys.version)" - name: Upload Artifacts uses: actions/upload-artifact@v2 with: From 511bb0c54bb5f8cad3f10bd4c77e78da69a78097 Mon Sep 17 00:00:00 2001 From: Lonsomem <62533807+Lonsomem@users.noreply.github.com> Date: Mon, 10 Jul 2023 21:58:44 +0900 Subject: [PATCH 09/10] Update python.yaml --- .github/workflows/python.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 61d80ee..1a858b0 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -25,3 +25,4 @@ jobs: with: name: python${{ matrix.python-version }}_artifact path: python_version.txt +aaaaaa From bce1a8be9d5ec2138ca8f0d555e72bb65d9cd74d Mon Sep 17 00:00:00 2001 From: Lonsomem <62533807+Lonsomem@users.noreply.github.com> Date: Mon, 10 Jul 2023 21:59:16 +0900 Subject: [PATCH 10/10] Update python.yaml --- .github/workflows/python.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 1a858b0..61d80ee 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -25,4 +25,3 @@ jobs: with: name: python${{ matrix.python-version }}_artifact path: python_version.txt -aaaaaa