From 65cba4031655b4e139d49e8744e022949e4f55de 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..9f2c8db 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: Echo + runs-on: ubuntu-latest + steps: + - run: "echo $STAGING" \ No newline at end of file