Skip to content

Pin pypa GHA to a supported release version #476

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Sep 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- os: macos-latest
python-version: '3.9'
- os: windows-latest
python-version: '3.9'
python-version: '3.9'
runs-on: ${{ matrix.os }}
name: test (py${{ matrix.python-version }} ${{ matrix.os }})
steps:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: make sync-to-s3
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
Expand Down Expand Up @@ -190,10 +190,10 @@ jobs:
run: |
pytest tests/test_main_system_caches.py
pytest -m 'vetiver'

test-jupyter:
runs-on: ubuntu-latest
env:
env:
CONNECT_LICENSE: ${{ secrets.RSC_LICENSE }}
ADMIN_API_KEY: ${{ secrets.ADMIN_API_KEY }}
steps:
Expand All @@ -209,7 +209,7 @@ jobs:
- name: Start Connect + rsconnect-jupyter
run: |
just integration-testing/up

- name: Run Cypress Tests
run: |
export ADMIN_API_KEY="${{ secrets.ADMIN_API_KEY }}"
Expand All @@ -219,7 +219,7 @@ jobs:
- name: Save videos
uses: actions/upload-artifact@v3
if: success() || failure()
with:
with:
name: cypress-videos
path: integration-testing/cypress/videos
if-no-files-found: ignore
Expand Down