Skip to content

Commit

Permalink
FIX: update to latest versions of actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rehanhaider committed Dec 6, 2024
1 parent 04e3784 commit 5d2d47d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
architecture: "x64"
Expand All @@ -29,7 +29,7 @@ jobs:
PELICAN_CONTENT_FOLDER: content
PUBLISH: True
- name: Upload the build artefacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: build-output
path: |
Expand All @@ -38,7 +38,7 @@ jobs:
firebase.json
retention-days: 1
- name: Upload the Test Files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: test-input
path: |
Expand All @@ -52,17 +52,16 @@ jobs:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: "3.10"
architecture: "x64"
- name: Download the Build Output
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: build-output
- name: Download the test input
uses: actions/download-artifact@v2

uses: actions/download-artifact@v4
with:
name: test-input
- name: Prepare Test Environment
Expand All @@ -77,7 +76,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download the build artefacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: build-output
- name: Deploy to Preview Channel
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
architecture: "x64"
Expand All @@ -30,7 +30,7 @@ jobs:
ALGOLIA_ADMIN_API_KEY: "${{ secrets.ALGOLIA_ADMIN_API_KEY }}"
PUBLISH: True
- name: Upload the Build Files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: build-output
path: |
Expand All @@ -39,7 +39,7 @@ jobs:
firebase.json
retention-days: 1
- name: Upload the Test Files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: test-input
path: |
Expand All @@ -53,16 +53,16 @@ jobs:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: "3.10"
architecture: "x64"
- name: Download the Build Output
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: build-output
- name: Download the test input
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: test-input
- name: Prepare Test Environment
Expand All @@ -80,7 +80,7 @@ jobs:
url: https://cloudbytes.dev
steps:
- name: Download the Build
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: build-output
- name: Deploy to Firebase
Expand Down

0 comments on commit 5d2d47d

Please sign in to comment.