Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update github actions to latest versions #236

Merged
merged 1 commit into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- uses: actions/checkout@v4

# Cache .m2/repository
- uses: actions/cache@v3
- uses: actions/cache@v4
continue-on-error: true
with:
path: ~/.m2/repository
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: actions/checkout@v4

# Cache .m2/repository
- uses: actions/cache@v3
- uses: actions/cache@v4
continue-on-error: true
with:
path: ~/.m2/repository
Expand All @@ -63,7 +63,7 @@ jobs:
run: docker-compose ${{ matrix.docker-compose-run }}

- name: Upload local staging directory
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.setup }}-local-staging
path: ~/local-staging
Expand All @@ -76,7 +76,7 @@ jobs:
- 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 All @@ -101,13 +101,13 @@ jobs:
# Hardcode the staging artifacts that need to be downloaded.
# These must match the matrix setups. There is currently no way to pull this out of the config.
- name: Download linux-aarch64 staging directory
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: linux-aarch64-local-staging
path: ~/linux-aarch64-local-staging

- name: Download linux-x86_64 staging directory
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: linux-x86_64-local-staging
path: ~/linux-x86_64-local-staging
Expand All @@ -117,7 +117,7 @@ jobs:
- name: Merge staging repositories
run: bash ./.github/scripts/merge_local_staging.sh ~/local-staging ~/linux-aarch64-local-staging ~/linux-x86_64-local-staging

- uses: s4u/maven-settings-action@v2.8.0
- uses: s4u/maven-settings-action@v3.0.0
with:
servers: |
[{
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-pr-reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download Artifacts
uses: dawidd6/action-download-artifact@v2.28.0
uses: dawidd6/action-download-artifact@v3.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: ${{ github.event.workflow_run.workflow_id }}
Expand All @@ -34,7 +34,7 @@ jobs:
name: test-results-build-pr-ubuntu

- name: Publish Test Report
uses: scacap/[email protected].2
uses: scacap/[email protected].3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
report_paths: '**/target/surefire-reports/TEST-*.xml'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
steps:
- 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

# Cache .m2/repository
- uses: actions/cache@v3
- uses: actions/cache@v4
continue-on-error: true
env:
cache-name: verify-cache-m2-repository
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
- uses: actions/checkout@v4

# Cache .m2/repository
- uses: actions/cache@v3
- uses: actions/cache@v4
continue-on-error: true
with:
path: ~/.m2/repository
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
sudo apt-get install -q -y autoconf automake git libtool
- uses: actions/checkout@v4

- uses: actions/cache@v3
- uses: actions/cache@v4
continue-on-error: true
env:
cache-name: build-pr-ubuntu-cache
Expand All @@ -122,12 +122,12 @@ jobs:

- name: Upload Test Results
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-results-build-pr-ubuntu
path: '**/target/surefire-reports/TEST-*.xml'

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: build-target-pr-ubuntu
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ jobs:
ref: main

- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 8
distribution: zulu

# Cache .m2/repository
- uses: actions/cache@v3
- uses: actions/cache@v4
continue-on-error: true
env:
cache-name: release-cache-m2-repository
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
run: ./.github/scripts/release_checkout_tag.sh release.properties

- name: Upload workspace
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: prepare-release-workspace
path: ${{ github.workspace }}/**
Expand All @@ -88,7 +88,7 @@ jobs:
name: stage-release-${{ matrix.setup }}
steps:
- name: Download release-workspace
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: prepare-release-workspace
path: ./prepare-release-workspace/
Expand All @@ -97,7 +97,7 @@ jobs:
run: chmod 755 ./prepare-release-workspace/mvnw

- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 8
distribution: zulu
Expand All @@ -120,7 +120,7 @@ jobs:
working-directory: ./prepare-release-workspace/
run: docker-compose ${{ matrix.docker-compose-build }}

- uses: s4u/maven-settings-action@v2.8.0
- uses: s4u/maven-settings-action@v3.0.0
with:
servers: |
[{
Expand All @@ -138,7 +138,7 @@ jobs:
run: docker-compose ${{ matrix.docker-compose-run }}

- name: Upload local staging directory
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.setup }}-local-staging
path: ~/local-staging
Expand All @@ -155,7 +155,7 @@ jobs:
needs: stage-release
steps:
- name: Download release-workspace
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: prepare-release-workspace
path: ./prepare-release-workspace/
Expand All @@ -175,20 +175,20 @@ jobs:
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}

- name: Set up JDK 8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 8

# Hardcode the staging artifacts that need to be downloaded.
# These must match the matrix setups. There is currently no way to pull this out of the config.
- name: Download linux-aarch64 staging directory
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: linux-aarch64-local-staging
path: ~/linux-aarch64-local-staging

- name: Download linux-x86_64 staging directory
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: linux-x86_64-local-staging
path: ~/linux-x86_64-local-staging
Expand All @@ -199,7 +199,7 @@ jobs:
working-directory: ./prepare-release-workspace/
run: bash ./.github/scripts/merge_local_staging.sh /home/runner/local-staging/staging ~/linux-aarch64-local-staging/staging ~/linux-x86_64-local-staging/staging

- uses: s4u/maven-settings-action@v2.8.0
- uses: s4u/maven-settings-action@v3.0.0
with:
servers: |
[{
Expand Down
Loading