Skip to content

Commit

Permalink
Update actions in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-m committed Sep 23, 2023
1 parent ce7bf75 commit d177e94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
django: "==3.2.*"
# Python 3.11 & Django 3.2 raises deprecation warning about deprecated 'cgi' for Python 3.13
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Build application
run: make build
env:
Expand All @@ -44,7 +44,7 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Build application
run: make build
- name: Build documentation
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
build-n-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Set up Python 3.10
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: "3.10"

Expand All @@ -21,14 +21,14 @@ jobs:

- name: Publish distribution 📦 to PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}

- name: Publish distribution 📦 to Test PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.test_pypi_password }}
Expand Down

0 comments on commit d177e94

Please sign in to comment.