Fix output syntax

A while ago Github deprecated and removed the ::set-output syntax in
favor of appending to the GITHUB_OUTPUT.
This commit is contained in:
Mario Finelli
2025-08-21 11:18:40 +02:00
parent b2ed7c1dc6
commit c58c59c63d

View File

@@ -23,7 +23,7 @@ jobs:
id: version
run: |
[ "$(cat galaxy.yml | grep version: | awk '{print $2}')" = $(awk -F '/' '{print substr($3, 2)}' <<< ${GITHUB_REF}) ] || exit 1
echo ::set-output name=version::$(awk -F '/' '{print substr($3, 2)}' <<< ${GITHUB_REF})
echo "version=$(awk -F '/' '{print substr($3, 2)}' <<< ${GITHUB_REF})" >> $GITHUB_OUTPUT
- name: "Set up Python"
uses: actions/setup-python@v5