Skip to content

Also output it directly #315

Also output it directly

Also output it directly #315

Workflow file for this run

name: build
on: [push, pull_request]
env:
OSSRH_JIRA_PASSWORD: ${{ secrets.OSSRH_JIRA_PASSWORD }}
jobs:
create-staging-repo:
env:
STAGING: true
name: Create staging repository
runs-on: ubuntu-latest
outputs:
staging-repo: ${{ steps.create-repo.outputs.repo }}
steps:
- uses: actions/checkout@v2
- id: create-repo
run: "echo 'repo=abc' >> $GITHUB_OUTPUT"
- id: echo
run: echo ${{ steps.create-repo.outputs.repo }}
echo-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 }}