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

Migrate to shared-actions v2 #173

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
30 changes: 15 additions & 15 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: Build API Job Jar
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Get Version
run: |
# Strip git ref prefix from version
Expand All @@ -29,7 +29,7 @@ jobs:

echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'zulu'
Expand All @@ -41,7 +41,7 @@ jobs:
run: ./gradlew service:build -Pversion=$VERSION

- name: Upload aggregator-service-job artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: aggregator-service-job
path: service/build/libs/*.jar
Expand All @@ -52,7 +52,7 @@ jobs:
needs: java_api_job_build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Get Version
run: |
# Strip git ref prefix from version
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
install: true

- name: Download Artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: aggregator-service-job
path: service/build/libs
Expand All @@ -107,7 +107,7 @@ jobs:
name: Build Service Jar
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Get Version
run: |
# Strip git ref prefix from version
Expand All @@ -119,7 +119,7 @@ jobs:
echo "VERSION=$VERSION" >> $GITHUB_ENV

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'zulu'
Expand All @@ -128,7 +128,7 @@ jobs:
run: ./gradlew clean build --refresh-dependencies -Pversion=$VERSION

- name: Upload aggregate-service artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: aggregate-service
path: build/libs/*.jar
Expand All @@ -139,7 +139,7 @@ jobs:
needs: java_service_build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Get Version
run: |
# Strip git ref prefix from version
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
install: true

- name: Download Artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: aggregate-service
path: build/libs
Expand All @@ -194,7 +194,7 @@ jobs:
name: Build Migration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Get Version
run: |
# Strip git ref prefix from version
Expand All @@ -205,7 +205,7 @@ jobs:

echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'zulu'
Expand All @@ -217,7 +217,7 @@ jobs:
run: ./gradlew migrations:build -Pversion=$VERSION

- name: Upload migration artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: aggregate-service-migration
path: migrations/build/libs/*.jar
Expand All @@ -228,7 +228,7 @@ jobs:
needs: migration_build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Get Version
run: |
# Strip git ref prefix from version
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
install: true

- name: Download Artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: aggregate-service-migration
path: migrations/build/libs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get Version
run: |
Expand All @@ -26,7 +26,7 @@ jobs:
echo "VERSION=$VERSION" >> $GITHUB_ENV

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'zulu'
Expand Down