From ce2ad04f60b262d0b024e7de3bc53f1f972ac689 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Wed, 22 Nov 2023 00:04:11 +0100 Subject: [PATCH] chore: Add a newline between steps --- .github/workflows/pull_request.yml | 1 + .github/workflows/release.yml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 438c1ef8..d361f067 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -16,6 +16,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Open pull request uses: repo-sync/pull-request@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e10ed437..78ecf19e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,7 @@ jobs: # https://github.com/cycjimmy/semantic-release-action#private-packages persist-credentials: false fetch-depth: 0 + - name: Cache uses: actions/cache@v3 with: @@ -32,14 +33,18 @@ jobs: .gradle node_modules key: gradle-npm-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'package-lock.json') }} + - name: Setup Java run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV + - name: Build with Gradle env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: ./gradlew build clean + - name: Setup semantic-release run: npm install + - name: Release env: GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }}