ci: use var as placeholder

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-08-06 09:07:07 +02:00
parent f9ddc31b77
commit c53196e197
2 changed files with 3 additions and 3 deletions

View File

@ -18,5 +18,5 @@ if [ -z "$CURRENT_COMMIT" ]; then
exit 0
fi
echo "Updated $VAR from $CURRENT_COMMIT to $LAST_COMMIT." > "$REPO_message.txt"
echo "https://github.com/$REPO/compare/$CURRENT_COMMIT..$LAST_COMMIT" >> "$REPO_message.txt"
echo "Updated $VAR from $CURRENT_COMMIT to $LAST_COMMIT." > "$VAR_message.txt"
echo "https://github.com/$REPO/compare/$CURRENT_COMMIT..$LAST_COMMIT" >> "$VAR_message.txt"

View File

@ -45,7 +45,7 @@ jobs:
bash .github/bump_deps.sh ${{ matrix.repository }} ${{ matrix.branch }} ${{ matrix.variable }}
{
echo 'message<<EOF'
cat "${{ matrix.repository }}_message.txt"
cat "${{ matrix.variable }}_message.txt"
echo EOF
} >> "$GITHUB_OUTPUT"
- name: Create Pull Request