mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ci: use bash syntax for CURRENT_BRANCH in GitHub Actions (#61212)
Replaces incorrect use of GitHub Actions expression syntax `${{CURRENT_BRANCH }}` inside a run block with proper bash variablesyntax `$CURRENT_BRANCH`, preventing 'Unrecognized named-value' errors.
PR Close #61212
This commit is contained in:
committed by
Kristiyan Kostadinov
parent
2f7e4ebd8d
commit
bad2870073
@@ -41,5 +41,5 @@ jobs:
|
||||
git remote add upstream "$UPSTREAM_URL"
|
||||
git remote -v
|
||||
|
||||
echo "Pushing ${{ CURRENT_BRANCH }} from origin to $UPSTREAM_OWNER upstream..."
|
||||
git push upstream "${CURRENT_BRANCH}"
|
||||
echo "Pushing $CURRENT_BRANCH from origin to $UPSTREAM_OWNER upstream..."
|
||||
git push upstream "$CURRENT_BRANCH"
|
||||
|
||||
Reference in New Issue
Block a user