Skip to content

Commit

Permalink
Create create_staging_repository.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Shabinder authored May 28, 2024
1 parent 734a870 commit 730a53f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/create_staging_repository.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
[workflow_dispatch]

jobs:
create_staging_repository:
runs-on: ubuntu-latest
name: Create staging repository
outputs:
repository-id: ${{ steps.create.outputs.repository_id }}
steps:
- id: create
uses: nexus-actions/create-nexus-staging-repo@main
with:
base_url: https://s01.oss.sonatype.org/service/local/
description: ${{ github.repository }}/${{ github.workflow }}#${{ github.run_number }}
username: ${{ secrets.NEXUS_ACTIONS_SONATYPE_USERNAME }}
password: ${{ secrets.NEXUS_ACTIONS_SONATYPE_PASSWORD }}
staging_profile_id: ${{ secrets.NEXUS_ACTIONS_SONATYPE_PROFILE_ID }}

0 comments on commit 730a53f

Please sign in to comment.