no space allowed

This commit is contained in:
Martin Marmsoler 2024-04-21 10:30:11 +02:00
parent ffa55b6d37
commit a176110934

View File

@ -377,7 +377,7 @@ jobs:
runs-on: ubuntu-latest # does not matter which runs-on: ubuntu-latest # does not matter which
# Map a step output to a job output # Map a step output to a job output
outputs: outputs:
version: ${{ steps.Retrieve version.outputs.VERSION }} version: ${{ steps.RetrieveVersion.outputs.VERSION }}
steps: steps:
- name: Download artifacts - name: Download artifacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
@ -385,7 +385,7 @@ jobs:
path: artifacts path: artifacts
# version is exported from cmake to file # version is exported from cmake to file
- name: Retrieve version - name: RetrieveVersion
run: | run: |
echo "VERSION=$(cat artifacts/Gittyup-VERSION/Version.txt)" >> "$GITHUB_OUTPUT" echo "VERSION=$(cat artifacts/Gittyup-VERSION/Version.txt)" >> "$GITHUB_OUTPUT"
id: version id: version
@ -415,7 +415,7 @@ jobs:
path: artifacts path: artifacts
# version is exported from cmake to file # version is exported from cmake to file
- name: Retrieve version - name: RetrieveVersion
run: | run: |
echo "::set-output name=VERSION::$(cat artifacts/Gittyup-VERSION/Version.txt)" echo "::set-output name=VERSION::$(cat artifacts/Gittyup-VERSION/Version.txt)"
id: version id: version