Skip to content

Commit

Permalink
try with proper signing
Browse files Browse the repository at this point in the history
  • Loading branch information
jskov committed Mar 27, 2024
1 parent 231dfd0 commit 21d65eb
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/publish-mavencentral.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,6 @@ jobs:
contents: write
packages: write
steps:
- name: Echo multiline env
run: |
echo "$XXX" > /tmp/a
ls -l /tmp
cat /tmp/a
env:
XXX: ${{ vars.TEST_MULTILINE }}

- name: List env
run: env | sort
env:
XXX: ${{ vars.TEST_MULTILINE }}

- name: Define BUILD_LABEL
env:
INPUT: ${{ github.head_ref || github.ref_name }}
Expand Down Expand Up @@ -65,14 +52,14 @@ jobs:
# Crude upload inspired by https://mccue.dev/pages/6-1-22-upload-to-maven-central
# Avoids sharing credentials with all Gradle plugins/potential annotation processors
- name: Upload and Release Bundle
uses: jskov/action-nexus-publish@main
uses: jskov/action-nexus-publish@tweaks
with:
ossrh_username: ${{ secrets.OSSRH_USERNAME }}
ossrh_token: ${{ secrets.OSSRH_TOKEN }}
signing_key: ${{ vars.TEST_SIGNING_KEY }}
signing_key_secret: ${{ vars.TEST_SIGNING_KEY_SECRET }}
signing_key: ${{ secrets.MADA_SIGNING_KEY }}
signing_key_secret: ${{ secrets.MADA_SIGNING_PASSWORD }}
search_directory: build/dist
log_level: 'finest'
#log_level: 'finest'
target_action: 'keep'

- name: show dist after
Expand Down

0 comments on commit 21d65eb

Please sign in to comment.