mirror of https://github.com/usbharu/Hideout.git
chore: テスト
This commit is contained in:
parent
0b13fce03c
commit
e706b2eb17
|
@ -8,6 +8,8 @@ jobs:
|
||||||
release-diff-check:
|
release-diff-check:
|
||||||
name: Release diff check
|
name: Release diff check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
diff: ${{ steps.check-diff.outputs.result }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -43,3 +45,28 @@ jobs:
|
||||||
env:
|
env:
|
||||||
DIFF: ${{ steps.check-diff.outputs.result }}
|
DIFF: ${{ steps.check-diff.outputs.result }}
|
||||||
run: echo "$DIFF"
|
run: echo "$DIFF"
|
||||||
|
|
||||||
|
publish-package:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Gradle Wrapper Validation
|
||||||
|
uses: gradle/actions/wrapper-validation@v4
|
||||||
|
|
||||||
|
- name: Set up JDK 21
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
java-version: '21'
|
||||||
|
distribution: 'temurin'
|
||||||
|
|
||||||
|
- name: Setup Gradle
|
||||||
|
uses: gradle/actions/setup-gradle@v4
|
||||||
|
with:
|
||||||
|
cache-read-only: false
|
||||||
|
gradle-home-cache-cleanup: true
|
||||||
|
|
||||||
|
- name: Publish OWL
|
||||||
|
if: contains(${{ needs.release-diff-check.outputs.diff }}, 'owl')
|
||||||
|
run: ./gradlew :owl:publishMavenPublicationToMavenLocal
|
||||||
|
|
Loading…
Reference in New Issue