Skip to content

Commit

Permalink
send github env variable not a literalstring variable
Browse files Browse the repository at this point in the history
  • Loading branch information
erikng committed May 26, 2022
1 parent 5f9f764 commit e3b301e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_nudge_prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: get environment variable changelog # trick to get this to work for sed command
id: get_env_var_changelog
run: |
echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v$NUDGE_MAIN_VERSION/,EOF")" >> $GITHUB_ENV
echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v{{env.NUDGE_MAIN_VERSION}}/,EOF")" >> $GITHUB_ENV
- name: Generate changelog
id: changelog
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_nudge_prerelease_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: get environment variable changelog # trick to get this to work for sed command
id: get_env_var_changelog
run: |
echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v$NUDGE_MAIN_VERSION/,EOF")" >> $GITHUB_ENV
echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v{{env.NUDGE_MAIN_VERSION}}/,EOF")" >> $GITHUB_ENV
- name: Generate changelog
id: changelog
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_nudge_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: get environment variable changelog # trick to get this to work for sed command
id: get_env_var_changelog
run: |
echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v$NUDGE_MAIN_VERSION/,EOF")" >> $GITHUB_ENV
echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v{{env.NUDGE_MAIN_VERSION}}/,EOF")" >> $GITHUB_ENV
- name: Generate changelog
id: changelog
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_nudge_release_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: get environment variable changelog # trick to get this to work for sed command
id: get_env_var_changelog
run: |
echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v$NUDGE_MAIN_VERSION/,EOF")" >> $GITHUB_ENV
echo "NUDGE_CHANGELOG=$(/bin/cat ./CHANGELOG.md | awk "/v{{env.NUDGE_MAIN_VERSION}}/,EOF")" >> $GITHUB_ENV
- name: Generate changelog
id: changelog
Expand Down

0 comments on commit e3b301e

Please sign in to comment.