From 98ac26909f7366f0002f52f952e421a6b25bbbae Mon Sep 17 00:00:00 2001 From: Matthias Gliwka Date: Sat, 2 Dec 2023 21:31:36 +0200 Subject: [PATCH] Echo output --- .github/workflows/build.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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