Skip to content

Commit

Permalink
Update workflows JDK
Browse files Browse the repository at this point in the history
  • Loading branch information
khaled-0 committed May 25, 2024
1 parent af278f0 commit 650e4ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_preview_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- name: set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: adopt
java-version: '21'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/create_github_release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
name: Create Release

permissions: write-all

on:
push:
branches:
- main
tags:
- v*.*
release:
types: [ published , prereleased ]
workflow_dispatch:

jobs:
Expand All @@ -20,8 +17,8 @@ jobs:
- name: set up JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: adopt
java-version: '21'
distribution: 'temurin'
cache: gradle

- name: Create release key
Expand Down

0 comments on commit 650e4ab

Please sign in to comment.