Skip to content

Commit

Permalink
Update GitHub Actions versions (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyroman authored Sep 6, 2024
1 parent 71466f4 commit 66850f7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: make ci
- name: Deploy
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
env:
PULL_NUMBER: "${{ github.event.number }}"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Build (head)
Expand All @@ -27,7 +27,7 @@ jobs:
mv out upload/base
- name: Checkout w3c/htmldiff-ui
if: ${{ steps.build_base.outcome == 'success' }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: w3c/htmldiff-ui
ref: refs/heads/main
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
done
echo -n "$PULL_NUMBER" >upload-compressed/.pull-number
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: upload-compressed
path: upload-compressed/
8 changes: 4 additions & 4 deletions .github/workflows/upload-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
pull-requests: 'write'
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v0
uses: google-github-actions/auth@v2
with:
workload_identity_provider: 'projects/28141583151/locations/global/workloadIdentityPools/github/providers/github-actions'
service_account: '[email protected]'
- name: Fetch artifact
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const fs = require('fs');
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
content-encoding: br
cache-control: no-transform, max-age=30
- name: Post comment
uses: actions/github-script@v6
uses: actions/github-script@v7
env:
GCS_BASE: "spec-previews/${{ github.repository }}/pull/${{ env.PULL_NUMBER }}"
with:
Expand Down

0 comments on commit 66850f7

Please sign in to comment.