Skip to content

Commit

Permalink
Setting env vars from release info
Browse files Browse the repository at this point in the history
  • Loading branch information
spaceo committed May 15, 2024
1 parent b13d844 commit 4ba5b27
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/create-cms-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ jobs:
run-id: ${{ github.event.workflow_run.id }}
- name: Display structure of downloaded files
run: cat release-info.json
- name: Set env variables
run: |
RELEASE_BRANCH=$(jq -r '.release_branch' release-info.json)
RELEASE_DOWNLOAD_URL=$(jq -r '.release_download_url' release-info.json)
echo "RELEASE_BRANCH=$RELEASE_BRANCH" >> $GITHUB_ENV
echo "RELEASE_DOWNLOAD_URL=$RELEASE_DOWNLOAD_URL" >> $GITHUB_ENV
# invoke-external-pr-workflow:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 4ba5b27

Please sign in to comment.