Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
vladi14 committed Nov 11, 2023
1 parent 5ae8982 commit b5dbb9b
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ env:
jobs:
build:
runs-on: ubuntu-latest
outputs:
output1: ${{ steps.step1.outputs.test }}
output2: ${{ steps.step2.outputs.test }}

steps:
- id: step1
run: echo "test=hello" >> $GITHUB_OUTPUT
- id: step2
run: echo "test=world" >> $GITHUB_OUTPUT

- name: repo checkout
uses: actions/checkout@v4
Expand All @@ -32,16 +40,13 @@ jobs:
name: my-artifact
path: ${{ github.workspace }}/myapp/target/*.jar

# outputs:
# release_version: ${{ steps.update_version.outputs.release_version }}

publish:
runs-on: ubuntu-latest
needs: build
steps:
- name: Use Variable
run: |
echo "Variable value: ${{ needs.build.outputs.release_version }}"
run: echo ${{needs.job1.outputs.output1}} ${{needs.job1.outputs.output2}}

- name: Checkout Code
uses: actions/checkout@v4
Expand Down

0 comments on commit b5dbb9b

Please sign in to comment.