Skip to content

Commit

Permalink
Merge pull request #171 from GateNLP/actions/upload-artifact
Browse files Browse the repository at this point in the history
Upgrade GitHub actions
  • Loading branch information
greenwoodma authored Nov 6, 2024
2 parents 8ecf711 + 1880b7b commit 26b10b8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:

steps:
- name: Checkout Master Branch
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v5
continue-on-error: true
# This step may error out when run in a fork that doesn't have pages
# enabled - if this happens, run the rest but skip anything that
Expand All @@ -36,7 +36,7 @@ jobs:
# to subsequent steps, so we can condition on that.

- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'zulu'
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:

- name: Upload artifact
if: env.GITHUB_PAGES == 'true'
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'target/site'
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
- name: Deploy site to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
if: env.GITHUB_PAGES == 'true'

downstream:
Expand All @@ -149,7 +149,7 @@ jobs:

steps:
- name: "Trigger gate-top"
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GATE_TOP_TOKEN }}
script: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:

steps:
- name: Checkout PR
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'zulu'
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:

- name: Upload Test Results
if: success() || failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Test Results
path: |
Expand All @@ -86,7 +86,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Event File
path: ${{ github.event_path }}

0 comments on commit 26b10b8

Please sign in to comment.