Skip to content

Commit

Permalink
release action
Browse files Browse the repository at this point in the history
  • Loading branch information
elgca committed Jun 21, 2024
1 parent 4d9c75a commit e790b51
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release

on:
push:
branches: [publish]
tags: ["*"]

env:
CI: true

jobs:
publish:
runs-on: ubuntu-22.04
strategy:
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup JVM
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: npm install
run: npm install
- name: code generator
run: sbt run
- name: Release
run: |
cd mdui
sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

0 comments on commit e790b51

Please sign in to comment.