Skip to content

Commit

Permalink
Merge pull request #6 from timhuang1018/task/integrate-ci
Browse files Browse the repository at this point in the history
CI script to publish to maven
  • Loading branch information
timhuang1018 authored Aug 19, 2024
2 parents 731079a + 86237bb commit adc4d91
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Publish Artifacts
on:
release:
types: [prereleased, released]
push:
branches: [ "main" ]
# release:
# types: [prereleased, released]
jobs:
build:
name: Build
Expand All @@ -21,7 +23,10 @@ jobs:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
run: |
brew install gpg
echo "$SIGNING_KEY" | gpg --dearmor > ${HOME}/secring.gpg
gpg --version
echo "$SIGNING_KEY" > private_key.asc
gpg --dearmor < private_key.asc > ${HOME}/secring.gpg
# echo "$SIGNING_KEY" | gpg --dearmor > ${HOME}/secring.gpg

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
Expand Down

0 comments on commit adc4d91

Please sign in to comment.