Skip to content

Commit

Permalink
ci: fix broken GitHub variable expansion (#1446)
Browse files Browse the repository at this point in the history
1ebec7b was missing a `$`, so
"GITHUB_SHA" ended up in the dependency, rather than the actual SHA
:blush:.
  • Loading branch information
tonyandrewmeyer authored Nov 1, 2024
1 parent 1ebec7b commit c3dde62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/published-charms-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
sed -i -e "/^ops[ ><=]/d" -e "/canonical\/operator/d" -e "/#egg=ops/d" requirements.txt
echo -e "\ngit+$GITHUB_SERVER_URL/$GITHUB_REPOSITORY@$GITHUB_SHA#egg=ops" >> requirements.txt
elif [ -e "poetry.lock" ]; then
poetry add git+$GITHUB_SERVER_URL/$GITHUB_REPOSITORY@GITHUB_SHA --lock
poetry add git+$GITHUB_SERVER_URL/$GITHUB_REPOSITORY@$GITHUB_SHA --lock
else
echo "Error: No requirements.txt or poetry.lock file found"
exit 1
Expand Down

0 comments on commit c3dde62

Please sign in to comment.