From f85c0168520d3238254962b0f2a563448a761559 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Sun, 24 Oct 2021 23:23:38 -0400 Subject: [PATCH 1/4] Update Python used in publish.yml to 3.9 --- .github/workflows/publish.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7b1f90f9..4aef1958 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.9 - name: Install setuptools and wheel run: | python -m pip install --user setuptools wheel @@ -40,10 +40,10 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.9 - name: Set up Julia uses: julia-actions/setup-julia@v1 with: @@ -59,10 +59,10 @@ jobs: matrix: # using `matrix` to define a constant package: ['julia==0.5.7.dev'] steps: - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.9 - name: Download from TestPyPI run: | pip download --dest dist --no-deps --index-url https://test.pypi.org/simple/ ${{ matrix.package }} From 1447adbf4b55c530e53ac9b488966d435c20d9d2 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Sun, 24 Oct 2021 23:24:41 -0400 Subject: [PATCH 2/4] Use Julia 1.6 in publish.yml --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4aef1958..615f87ef 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -47,7 +47,7 @@ jobs: - name: Set up Julia uses: julia-actions/setup-julia@v1 with: - version: ^1.5.0-rc1 + version: '1.6' - name: Install tox run: python -m pip install --user tox - run: cd ci/test-upload && python -m tox From ef93dda96ebcb93323851f6ee0e5b8a0ba2dfe8f Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Mon, 25 Oct 2021 00:34:32 -0400 Subject: [PATCH 3/4] Update pypa/gh-action-pypi-publish to v1.4.2 --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 615f87ef..1ec44ff0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,7 +29,7 @@ jobs: if: >- (github.ref == 'refs/heads/release/test') || (github.ref == 'refs/heads/release/main') - uses: pypa/gh-action-pypi-publish@bce3b74dbf8cc32833ffba9d15f83425c1a736e0 # v1.3.1 + uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 # v1.4.2 with: password: ${{ secrets.test_pypi_password }} repository_url: https://test.pypi.org/legacy/ @@ -70,6 +70,6 @@ jobs: - run: ls -lh dist - name: Publish distribution 📦 to PyPI if: github.ref == 'refs/heads/release/main' - uses: pypa/gh-action-pypi-publish@bce3b74dbf8cc32833ffba9d15f83425c1a736e0 # v1.3.1 + uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 # v1.4.2 with: password: ${{ secrets.pypi_password }} From e4766e2167ed86e4604ef836963ff45722311f19 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Mon, 25 Oct 2021 00:54:22 -0400 Subject: [PATCH 4/4] [ci skip]