Skip to content

Commit

Permalink
[feat] github actions流水线配置
Browse files Browse the repository at this point in the history
  • Loading branch information
minliuhua committed Oct 21, 2024
1 parent 12fe739 commit 0e3c553
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
Empty file removed .github/.keep
Empty file.
Empty file removed .github/workflows/.keep
Empty file.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release

# Run workflow on commits to the `master` branch
on:
release:
branches:
- master

jobs:
release:
runs-on: ubuntu-18.04
steps:
- name: Check out Git repository
uses: actions/checkout@v2

- name: Install Java and Maven
uses: actions/setup-java@v1
with:
java-version: 8

- name: Release Maven package
uses: samuelmeuli/action-maven-publish@v1
with:
gpg_private_key: ${{ secrets.GPG_SECRET }}
gpg_passphrase: ${{ secrets.GPG_PASSWORD }}
nexus_username: ${{ secrets.OSSRH_USER }}
nexus_password: ${{ secrets.OSSRH_PASSWORD }}
Empty file.

0 comments on commit 0e3c553

Please sign in to comment.