Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
fix: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
iamceph committed Mar 14, 2022
1 parent a428abb commit da8f796
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: Build Snapshot
on: [ push, pull_request ]

jobs:
Expand All @@ -21,7 +21,7 @@ jobs:
key: ${{ runner.os }}-${{ github.job }}-${{ matrix.java }}-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Run tests
run: ./gradlew assemble test
run: ./gradlew snapshot assemble test
- name: Publish Snapshot
if: >
matrix.java == env.MIN_JVM
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
ORG_GRADLE_PROJECT_signingKeyId: 241134EA
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository final -Prelease.useLastTag=true -Prelease
run: ./gradlew -Prelease.useLastTag=true -Prelease final publishToSonatype closeAndReleaseSonatypeStagingRepository

0 comments on commit da8f796

Please sign in to comment.