Skip to content

Commit

Permalink
Pull available tags
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-ning-usds committed Sep 6, 2024
1 parent 1bd6218 commit 8d87f85
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,24 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Setup JDK And SBT
- name: Install JDK 21
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
distribution: temurin
java-version: 21
cache: sbt

- name: Install gnupg
run: sudo apt update && sudo apt install -y gnupg

- name: Import PGP secret
run: echo "${{ secrets.PGP_SECRET }}" | base64 --decode | gpg --batch --import

- name: Refresh version tag
run: git pull --tags

- name: Publish to Maven Repository
run: sbt clean ci-release
env:
Expand Down

0 comments on commit 8d87f85

Please sign in to comment.