diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b8efda..e56058e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,6 +30,7 @@ jobs: shell: bash run: | cat $GITHUB_OUTPUT > version.txt + cat version.txt - name: Upload upstream train version information uses: actions/upload-artifact@v4 with: @@ -64,8 +65,11 @@ jobs: with: name: ver-${{ matrix.train }} - - name: Set target version environment variable - run: cat version.txt >> $GITHUB_ENV + - name: Set target version environment variables + run: | + while read p; do + echo $p >> $GITHUB_ENV + done > $GITHUB_ENV + - name: Set target version environment variables + run: | + while read p; do + echo $p >> $GITHUB_ENV + done