Skip to content

Commit

Permalink
Update snapshot_publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rotgruengelb authored Nov 21, 2023
1 parent bc0235a commit abc8756
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/snapshot_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set Short ID
id: set_short_id
run: |
SHORT_ID=$(openssl rand -hex 5)
echo "UNIQUE_ID=$SHORT_ID" >> $GITHUB_ENV
shell: bash

# Step 1
# This is optional and only if you want to set the timezone
- name: Setup timezone
Expand Down Expand Up @@ -58,7 +65,6 @@ jobs:
OSSRH_PASSWORD: ${{secrets.OSSRH_TOKEN}}
OSSRH_URL: "https://s01.oss.sonatype.org/content/repositories/snapshots/"
PUBLISH_TYPE: "SNAPSHOT"
COMMIT_ID: ${{github.sha}}

# Step 8
# Optional step, will enable you to see what you have released as well here on GitHub
Expand Down

0 comments on commit abc8756

Please sign in to comment.