Skip to content

Commit

Permalink
Merge pull request #2132 from HedvigInsurance/fix/CI-upgrades
Browse files Browse the repository at this point in the history
ci updates
  • Loading branch information
StylianosGakis authored Jun 3, 2024
2 parents 106789a + 3ca609b commit 65f7ca1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
runs-on: ubuntu-latest-8-vcpu
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Add GitHub Packages auth
Expand All @@ -24,7 +25,7 @@ jobs:
java-version: '17'
distribution: 'zulu'
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v3
with:
# Only write to the cache for builds on the 'develop' branch
cache-read-only: false
Expand All @@ -44,6 +45,7 @@ jobs:
runs-on: ubuntu-latest-8-vcpu
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Add GitHub Packages auth
Expand All @@ -57,7 +59,7 @@ jobs:
java-version: '17'
distribution: 'zulu'
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v3
with:
# Only write to the cache for builds on the 'develop' branch
cache-read-only: false
Expand All @@ -76,6 +78,7 @@ jobs:
runs-on: ubuntu-latest-8-vcpu
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Add GitHub Packages auth
Expand All @@ -89,7 +92,7 @@ jobs:
java-version: '17'
distribution: 'zulu'
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v3
with:
# Only write to the cache for builds on the 'develop' branch
cache-read-only: false
Expand All @@ -110,8 +113,8 @@ jobs:
build:
runs-on: ubuntu-latest-8-vcpu
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Add GitHub Packages auth
Expand All @@ -125,7 +128,7 @@ jobs:
java-version: '17'
distribution: 'zulu'
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v3
with:
# Only write to the cache for builds on the 'develop' branch
cache-read-only: false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
build_staging:
runs-on: ubuntu-latest-8-vcpu
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Add GitHub Packages auth
Expand All @@ -27,7 +27,7 @@ jobs:
java-version: '17'
distribution: 'zulu'
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v3
with:
# Only write to the cache for builds on the 'develop' branch
cache-read-only: false
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/unused-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3

- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
Expand All @@ -22,7 +23,7 @@ jobs:
distribution: 'zulu'

- name: Setup Gradle
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v3
with:
# Only write to the cache for builds on the 'develop' branch
cache-read-only: false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/upload-to-play-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
build_release:
runs-on: ubuntu-latest-8-vcpu
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: Add GitHub Packages auth
Expand All @@ -28,7 +28,7 @@ jobs:
java-version: '17'
distribution: 'zulu'
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v3
with:
# Only write to the cache for builds on the 'develop' branch
cache-read-only: false
Expand Down

0 comments on commit 65f7ca1

Please sign in to comment.