Skip to content

Commit dbb7182

Browse files
authored
fix: still fixing env bug (#212)
* fix: add debug statement * fix: still finding out how to pass env
1 parent 09120d9 commit dbb7182

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/pr_merge.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55

66
env:
77
ARTIFACT_BASE_NAME: cumulus_lambda_functions
8+
PR_NUMBER: github.event.number
9+
PR_TITLE: github.event.pull_request.title
810
jobs:
911
build:
1012
if: github.event.pull_request.merged == true
@@ -16,8 +18,10 @@ jobs:
1618
python-version: '3.9'
1719
- run: |
1820
artifact_file_name="${{ env.ARTIFACT_BASE_NAME }}-${{ env.software_version }}.zip"
19-
PR_NUMBER="${{ github.event.number }}"
20-
PR_TITLE="${{ github.event.pull_request.title }}"
21+
echo "PR_NUMBER1=${github.event.number}" >> ${GITHUB_ENV}
22+
echo "PR_TITLE1=${github.event.pull_request.title}" >> ${GITHUB_ENV}
23+
# PR_NUMBER="${{ github.event.number }}"
24+
# PR_TITLE="${{ github.event.pull_request.title }}"
2125
echo "${PR_TITLE} -- ${PR_NUMBER}"
2226
- run: |
2327
python3 "${GITHUB_WORKSPACE}/ci.cd/update_setup_version.py" install

0 commit comments

Comments
 (0)