Skip to content

Commit

Permalink
update some Actions to their newest latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Aug 23, 2024
1 parent e887852 commit 54e9f30
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 16 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

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

- uses: gradle/gradle-build-action@v2
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3

- name: Publish CLI
run: ./gradlew :maestro-cli:jreleaserFullRelease --no-daemon --no-parallel
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

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

- uses: gradle/gradle-build-action@v2
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3

- name: Retrieve version
run: |
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

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

- uses: gradle/gradle-build-action@v2
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3

- name: Retrieve version
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up JDK 8
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: zulu
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up JDK
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: zulu
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Clone repository (only needed for the e2e directory)
uses: actions/checkout@v4

- name: Set up JDK
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: zulu
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
with:
name: maestro-cli

- name: Set up JDK
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: zulu
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: Test

on:
workflow_dispatch:
pull_request:

jobs:
test:
runs-on: ubuntu-latest
if: github.repository == 'mobile-dev-inc/maestro'

steps:
- name: Checkout
- name: Clone repository
uses: actions/checkout@v4

- name: Install JDK
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
distribution: zulu
java-version: 11

- name: Set up Gradle
Expand All @@ -25,10 +25,11 @@ jobs:
run: ./gradlew test


validation:
validate-gradle-wrapper:
runs-on: ubuntu-latest

steps:
- name: Checkout
- name: Clone repository
uses: actions/checkout@v4

- name: Validate Gradle Wrapper
Expand Down

0 comments on commit 54e9f30

Please sign in to comment.