Skip to content

Commit

Permalink
Update pr-on-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Munkholm authored Feb 25, 2023
1 parent ad7933a commit f228599
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/pr-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,16 @@ jobs:
with:
repository: bmunkholm/Test
ref: ${{ github.event.release.target_commitish }}

- name: Set the value
id: step_one
run: echo "action_state=yellow" >> $GITHUB_ENV
- name: Use the value
id: step_two
run: echo "ACTION ${{ env.action_state }}" # This will output 'yellow'


- name: Get release version
run: echo "version=${{ github.event.release.tag_name }}" >> GITHUB_ENV
run: echo "version=${{ github.event.release.tag_name }}" >> $GITHUB_ENV

- name: Checkout repo B
uses: actions/checkout@v3
with:
repository: bmunkholm/test2
ref: main

- name: Use the value
id: step_two2
run: echo "ACTION ${{ env.action_state }}" # This will output 'yellow'

- name: Update version file
run: |
echo "${{ env.version }}" > version.txt
Expand Down

0 comments on commit f228599

Please sign in to comment.