Skip to content

Commit

Permalink
Bump GHA actions to latest version
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Borean <jborean93@gmail.com>
  • Loading branch information
jborean93 committed Oct 25, 2022
1 parent e4d4d08 commit 2c3571f
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Select python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9

Expand All @@ -28,7 +28,7 @@ jobs:
GSSAPI_COMPILER_ARGS: ''

- name: Upload sdist
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: artifact
path: ./dist/*.tar.gz
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
echo "C:\Program Files${{ endsWith(matrix.version, '-win32') && ' (x86)' || '' }}\MIT\Kerberos\bin;$PATH" >> $GITHUB_PATH
- name: Download gssapi sdist
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: artifact
path: ./
Expand All @@ -121,7 +121,7 @@ jobs:
CIBW_BUILD_VERBOSITY: 1

- name: Upload wheel
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
name: artifact
Expand Down Expand Up @@ -154,10 +154,10 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download built project
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: artifact
path: ./dist
Expand Down Expand Up @@ -201,16 +201,16 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download built project
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: artifact
path: ./dist

- name: Install the right python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.pyenv }}
architecture: ${{ matrix.arch }}
Expand All @@ -229,10 +229,10 @@ jobs:
runs-on: macos-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download built project
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: artifact
path: ./dist
Expand All @@ -253,10 +253,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download built project
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: artifact
path: ./dist
Expand All @@ -268,21 +268,21 @@ jobs:

- name: Get tarball path
id: tarball
run: echo "::set-output name=tarball::`ls tag_build/*.tar.gz | awk -F/ '{print $2}'`"
run: echo "tarball=`ls tag_build/*.tar.gz | awk -F/ '{print $2}'`" >> $GITHUB_OUTPUT

- name: Get release checksum path
id: checksum
run: echo "::set-output name=checksum::`ls tag_build/*.sha512sum | awk -F/ '{print $2}'`"
run: echo "checksum=`ls tag_build/*.sha512sum | awk -F/ '{print $2}'`" >> $GITHUB_OUTPUT

- name: Upload tagged build artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
path: tag_build/${{ steps.tarball.outputs.tarball }}
name: artifact

- name: Deploy stable docs
if: startsWith(github.ref, 'refs/tags/v')
uses: JamesIves/github-pages-deploy-action@3.7.1
uses: JamesIves/github-pages-deploy-action@4.4.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
Expand Down Expand Up @@ -323,7 +323,7 @@ jobs:

- name: Deploy to PyPI
if: startsWith(github.ref, 'refs/tags/v')
uses: pypa/gh-action-pypi-publish@v1.1.0
uses: pypa/gh-action-pypi-publish@v1.5.1
with:
user: __token__
password: ${{ secrets.pypi_password }}

0 comments on commit 2c3571f

Please sign in to comment.