Skip to content

Commit

Permalink
chore: Bump GitHub actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ribose-jeffreylau committed Dec 11, 2024
1 parent 9062287 commit 8e0bc0f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/glossary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ github.token }}
submodules: true

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging'
with:
name: package
Expand All @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: package

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/site-deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
echo "environment-name=${environment_name}" >> $GITHUB_OUTPUT
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand All @@ -79,7 +79,7 @@ jobs:
bundler-cache: true

- name: Checkout data
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ github.token }}
repository: ${{ inputs.repository }}
Expand All @@ -89,7 +89,7 @@ jobs:

- name: Checkout breviter
if: inputs.breviter-repository != ''
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ github.token }}
repository: ${{ inputs.breviter-repository }}
Expand All @@ -99,17 +99,17 @@ jobs:
submodules: true

- name: Cache relaton
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: relaton
key: ${{ runner.os }}-${{ hashFiles(join(inputs.concepts-path, '/**/*.yaml')) }}

- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5

- name: Use Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '12'
cache: 'npm'
Expand All @@ -122,14 +122,14 @@ jobs:
- name: Compress files
run: zip -9 -r site.zip _site

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: steps.prepare.outputs.environment-name != 'skip'
with:
name: site
path: site.zip

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: _site

Expand All @@ -143,4 +143,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
14 changes: 7 additions & 7 deletions .github/workflows/site-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
echo "environment-name=${environment_name}" >> $GITHUB_OUTPUT
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}

Expand All @@ -87,7 +87,7 @@ jobs:
bundler-cache: true

- name: Checkout data
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ github.token }}
repository: ${{ inputs.repository }}
Expand All @@ -97,7 +97,7 @@ jobs:

- name: Checkout breviter
if: inputs.breviter-repository != ''
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ github.token }}
repository: ${{ inputs.breviter-repository }}
Expand All @@ -107,13 +107,13 @@ jobs:
submodules: true

- name: Cache relaton
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: relaton
key: ${{ runner.os }}-${{ hashFiles(join(inputs.concepts-path, '/**/*.yaml')) }}

- name: Use Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '12'
cache: 'npm'
Expand All @@ -126,7 +126,7 @@ jobs:
- name: Compress files
run: zip -9 -r site.zip _site

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: steps.prepare.outputs.environment-name != 'skip'
with:
name: site
Expand All @@ -140,7 +140,7 @@ jobs:
name: ${{ needs.build.outputs.environment-name }}
url: ${{ needs.build.outputs.environment-url }}
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: site

Expand Down

0 comments on commit 8e0bc0f

Please sign in to comment.