Skip to content

Commit

Permalink
Explicitly declare needs
Browse files Browse the repository at this point in the history
  • Loading branch information
gliwka committed Dec 2, 2023
1 parent 8395677 commit 36f65d1
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,12 @@ jobs:
steps:
- uses: actions/checkout@v2
- id: create-repo
run: "echo 'repo=abc' >> $GITHUB_OUTPUT"
- id: echo
run: echo ${{ steps.create-repo.outputs.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=' >> $GITHUB_OUTPUT"
echo-repo:
needs: create-staging-repo
env:
STAGING: ${{ needs.create-staging-repo.outputs.staging-repo }}
name: Echo
runs-on: ubuntu-latest
steps:
- run: echo ${{ needs.create-staging-repo.outputs.staging-repo }}
- run: "echo $STAGING"
env:
STAGING: ${{ needs.create-staging-repo.outputs.staging-repo }}
- run: "echo $STAGING"

0 comments on commit 36f65d1

Please sign in to comment.