diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb665d3..61635d8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,4 +13,11 @@ jobs: steps: - uses: actions/checkout@v2 - id: create-repo - run: "mvn -B --settings mvnsettings.xml nexus-staging:rc-open -DserverId=ossrh -DnexusUrl=https://oss.sonatype.org/ -DstagingProfileId=72c1cc10566951 -DopenedRepositoryMessageFormat='\nrepo=%s' | grep 'repo='" \ No newline at end of file + run: "mvn -B --settings mvnsettings.xml nexus-staging:rc-open -DserverId=ossrh -DnexusUrl=https://oss.sonatype.org/ -DstagingProfileId=72c1cc10566951 -DopenedRepositoryMessageFormat='\nrepo=%s' | grep 'repo=' >> $GITHUB_OUTPUT" + echo-repo: + env: + STAGING: ${{ needs.create-staging-repo.outputs.staging-repo }} + name: Create staging repository + runs-on: ubuntu-latest + steps: + - run: "echo $STAGING" \ No newline at end of file