Skip to content

Commit

Permalink
Merge pull request #22 from GateNLP/actions/upgrade
Browse files Browse the repository at this point in the history
Upgrade GitHub actions
  • Loading branch information
greenwoodma authored Nov 6, 2024
2 parents 573a325 + f467d86 commit 05856ff
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,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 @@ -40,7 +40,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 @@ -115,7 +115,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/staging'
Expand All @@ -136,4 +136,4 @@ jobs:
- name: Deploy site to GitHub Pages
if: env.GITHUB_PAGES == 'true'
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
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 @@ -94,7 +94,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 }}
8 changes: 4 additions & 4 deletions .github/workflows/standard-module-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

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

- name: Update submodules if necessary
run: |
Expand All @@ -41,7 +41,7 @@ jobs:
fi
- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ inputs.java_version }}
distribution: ${{ inputs.java_distribution }}
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:

- name: Upload Test Results
if: inputs.test_report && (success() || failure())
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Test Results
path: |
Expand All @@ -122,7 +122,7 @@ jobs:
if: inputs.test_report
steps:
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Event File
path: ${{ github.event_path }}
8 changes: 4 additions & 4 deletions .github/workflows/standard-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Setup Pages
if: inputs.deploy_site_to_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 @@ -76,7 +76,7 @@ jobs:
# to subsequent steps, so we can condition on that.

- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ inputs.java_version }}
distribution: ${{ inputs.java_distribution }}
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:

- name: Upload artifact
if: github.ref == inputs.default_branch && env.GITHUB_PAGES == 'true'
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'target/site'
Expand All @@ -173,4 +173,4 @@ jobs:
- name: Deploy site to GitHub Pages
if: github.ref == inputs.default_branch && env.GITHUB_PAGES == 'true'
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

0 comments on commit 05856ff

Please sign in to comment.