Skip to content

Commit

Permalink
ci(GitHub): fix baseline step for the pr-baseline workflow again
Browse files Browse the repository at this point in the history
Signed-off-by: Art Shendrik <[email protected]>
  • Loading branch information
amal committed Jun 2, 2024
1 parent 539d04c commit a8f7615
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
- name: 'Set up JDK ${{ matrix.java }}'
uses: actions/setup-java@v4
with:
distribution: 'temurin'
distribution: temurin
java-version: '${{ matrix.java }}'

- name: 'Cached KMP things (Konan, Node, Yarn, Binaryen)'
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/pr-baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,23 @@ jobs:
# Checkout pull request HEAD commit instead of merge commit.
ref: ${{ github.event.pull_request.head.sha }}

- uses: actions/setup-java@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 22

- uses: gradle/actions/setup-gradle@v3
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: release-candidate
cache-disabled: true
cache-read-only: true

- name: Baseline
run: ./updateBaseline
- name: Update baseline
run: |
chmod +x updateBaseline
./updateBaseline
- name: Setup GIT
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: 'Set up JDK 22'
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '22'
distribution: temurin
java-version: 22

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
Expand Down

0 comments on commit a8f7615

Please sign in to comment.