Skip to content

Commit

Permalink
Github Action updates - Candidate commit for Stopgap #1168
Browse files Browse the repository at this point in the history
  • Loading branch information
fbanados committed Jun 24, 2024
1 parent 5cf5191 commit a375d96
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: 🐍 Set up Python ${{ env.ACTIONS_PYTHON_VERSION }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
# actions/cache below uses this id to get the exact python version
id: setup-python
with:
Expand Down Expand Up @@ -108,12 +108,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: 🐍 Set up Python ${{ env.ACTIONS_PYTHON_VERSION }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
id: setup-python
with:
python-version: ${{ env.ACTIONS_PYTHON_VERSION }}
- name: Setup Node ${{ env.ACTIONS_NODE_VERSION }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ env.ACTIONS_NODE_VERSION }}
cache: npm
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
if [ -n "$CYPRESS_RECORD_KEY" ] ; then export CYPRESS_OPTS="--key $CYPRESS_RECORD_KEY" ; fi
pipenv run ./scripts/run-cypress --no-interactive
- name: Archive cypress videos
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: cypress-videos
path: |
Expand All @@ -170,14 +170,14 @@ jobs:

steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_PERSONAL_ACCESS_TOKEN }}
- uses: actions/checkout@v4
- name: Build and push Docker images
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
# build-push-action with the default ‘git context’ ignores the
# .dockerignore file
Expand Down Expand Up @@ -205,14 +205,14 @@ jobs:

steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_PERSONAL_ACCESS_TOKEN }}
- uses: actions/checkout@v4
- name: 🐍 Set up Python ${{ env.ACTIONS_PYTHON_VERSION }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ env.ACTIONS_PYTHON_VERSION }}
- name: Install requests
Expand All @@ -232,14 +232,14 @@ jobs:

steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_PERSONAL_ACCESS_TOKEN }}
- uses: actions/checkout@v4
- name: Build and push Docker images
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
# build-push-action with the default ‘git context’ ignores the
# .dockerignore file
Expand Down Expand Up @@ -267,14 +267,14 @@ jobs:

steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_PERSONAL_ACCESS_TOKEN }}
- uses: actions/checkout@v4
- name: 🐍 Set up Python ${{ env.ACTIONS_PYTHON_VERSION }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ env.ACTIONS_PYTHON_VERSION }}
- name: Install requests
Expand Down

0 comments on commit a375d96

Please sign in to comment.