Skip to content

Commit

Permalink
Update release-beta.yml workflow to use Java 17 and run Gradle depend…
Browse files Browse the repository at this point in the history
…encies
  • Loading branch information
appujet committed Apr 28, 2024
1 parent 4c2c3cc commit ab956f5
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,33 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout Repository
uses: actions/checkout@v3
with:
path: './'
fetch-depth: 0
- name: Set up java

- name: Set up Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '17'

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: dependencies
run: chmod +x ./gradlew
env:
CI: true

- name: Run Gradle dependencies
run: ./gradlew --no-daemon dependencies
- name: Release to github
env:
CI: true

- name: Release to GitHub
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
RELEASE_TARGET: ${{ github.sha }}
PRERELEASE: true
run: ./gradlew --no-daemon build githubRelease
env:
CI: true

0 comments on commit ab956f5

Please sign in to comment.