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

Commit

Permalink
Merge branch 'master' into youji-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
youji.zzl committed Sep 17, 2023
2 parents 2a02c7d + 59f8064 commit feee026
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/arklet_release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Release
name: Arklet Release

## https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release
## trigger manually
on:
workflow_dispatch:
paths:
- 'arklet/**'

jobs:
build:
Expand All @@ -23,6 +21,7 @@ jobs:
distribution: 'temurin'
cache: maven
- name: Build with Maven
working-directory: arklet
run: mvn clean install -B -U -e && sh ./check_format.sh
release:
needs: build
Expand All @@ -42,7 +41,8 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
- name: Build with Maven
run: mvn --batch-mode deploy -DskipTests -Prelease
working-directory: arklet
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

0 comments on commit feee026

Please sign in to comment.