Skip to content

Commit e9de712

Browse files
authored
Update software versions in publish.yml (#466)
* Update Python used in publish.yml to 3.9 * Use Julia 1.6 in publish.yml * Update pypa/gh-action-pypi-publish to v1.4.2
1 parent 4b40d81 commit e9de712

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
runs-on: ubuntu-20.04
1414
steps:
1515
- uses: actions/checkout@v2
16-
- name: Set up Python 3.8
16+
- name: Set up Python 3.9
1717
uses: actions/setup-python@v1
1818
with:
19-
python-version: 3.8
19+
python-version: 3.9
2020
- name: Install setuptools and wheel
2121
run: |
2222
python -m pip install --user setuptools wheel
@@ -29,7 +29,7 @@ jobs:
2929
if: >-
3030
(github.ref == 'refs/heads/release/test') ||
3131
(github.ref == 'refs/heads/release/main')
32-
uses: pypa/gh-action-pypi-publish@bce3b74dbf8cc32833ffba9d15f83425c1a736e0 # v1.3.1
32+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 # v1.4.2
3333
with:
3434
password: ${{ secrets.test_pypi_password }}
3535
repository_url: https://test.pypi.org/legacy/
@@ -40,14 +40,14 @@ jobs:
4040
runs-on: ubuntu-20.04
4141
steps:
4242
- uses: actions/checkout@v2
43-
- name: Set up Python 3.8
43+
- name: Set up Python 3.9
4444
uses: actions/setup-python@v1
4545
with:
46-
python-version: 3.8
46+
python-version: 3.9
4747
- name: Set up Julia
4848
uses: julia-actions/setup-julia@v1
4949
with:
50-
version: ^1.5.0-rc1
50+
version: '1.6'
5151
- name: Install tox
5252
run: python -m pip install --user tox
5353
- run: cd ci/test-upload && python -m tox
@@ -59,17 +59,17 @@ jobs:
5959
matrix: # using `matrix` to define a constant
6060
package: ['julia==0.5.7.dev']
6161
steps:
62-
- name: Set up Python 3.8
62+
- name: Set up Python 3.9
6363
uses: actions/setup-python@v1
6464
with:
65-
python-version: 3.8
65+
python-version: 3.9
6666
- name: Download from TestPyPI
6767
run: |
6868
pip download --dest dist --no-deps --index-url https://test.pypi.org/simple/ ${{ matrix.package }}
6969
pip download --dest dist --no-deps --index-url https://test.pypi.org/simple/ ${{ matrix.package }} --no-binary :all:
7070
- run: ls -lh dist
7171
- name: Publish distribution 📦 to PyPI
7272
if: github.ref == 'refs/heads/release/main'
73-
uses: pypa/gh-action-pypi-publish@bce3b74dbf8cc32833ffba9d15f83425c1a736e0 # v1.3.1
73+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 # v1.4.2
7474
with:
7575
password: ${{ secrets.pypi_password }}

0 commit comments

Comments
 (0)