Skip to content

Commit

Permalink
Improve CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Jan 12, 2023
1 parent 550a562 commit 78b2a51
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 47 deletions.
44 changes: 0 additions & 44 deletions .github/actions/gradle/action.yml

This file was deleted.

15 changes: 12 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,16 @@ jobs:
URL="https://$GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY.git"
git remote set-url origin "$URL"
git config --global user.name "$GITHUB_ACTOR"
- name: Release Version
uses: ./.github/actions/gradle
- name: Set Up Java
uses: actions/setup-java@v3
with:
tasks: release
java-version: "17"
distribution: temurin
cache: gradle
- name: Release Version
run: ./gradlew release
shell: bash
- name: Release Version
if: failure()
run: ./gradlew --info --stacktrace release
shell: bash

0 comments on commit 78b2a51

Please sign in to comment.