diff --git a/.github/workflows/build-alpine.yml b/.github/workflows/build-alpine.yml index b2d475a1..f9e73845 100644 --- a/.github/workflows/build-alpine.yml +++ b/.github/workflows/build-alpine.yml @@ -48,7 +48,7 @@ jobs: - name: Check if binary is compiled id: check_file run: | - (test -f root/pkg-fetch/dist/*.sha256sum && echo ::set-output name=EXISTS::true) || echo ::set-output name=EXISTS::false + (test -f root/pkg-fetch/dist/*.sha256sum && echo "EXISTS=true" >> $GITHUB_OUTPUT) || echo "EXISTS=false" >> $GITHUB_OUTPUT - uses: actions/upload-artifact@v2 if: steps.check_file.outputs.EXISTS == 'true' diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index c7061c8a..f8ee7429 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -36,7 +36,7 @@ jobs: - name: Check if binary is compiled id: check_file run: | - (test -f root/pkg-fetch/dist/*.sha256sum && echo ::set-output name=EXISTS::true) || echo ::set-output name=EXISTS::false + (test -f root/pkg-fetch/dist/*.sha256sum && echo "EXISTS=true" >> $GITHUB_OUTPUT) || echo "EXISTS=false" >> $GITHUB_OUTPUT - uses: actions/upload-artifact@v2 if: steps.check_file.outputs.EXISTS == 'true' @@ -77,7 +77,7 @@ jobs: - name: Check if binary is compiled id: check_file run: | - (test -f root/pkg-fetch/dist/*.sha256sum && echo ::set-output name=EXISTS::true) || echo ::set-output name=EXISTS::false + (test -f root/pkg-fetch/dist/*.sha256sum && echo "EXISTS=true" >> $GITHUB_OUTPUT) || echo "EXISTS=false" >> $GITHUB_OUTPUT - uses: actions/upload-artifact@v2 if: steps.check_file.outputs.EXISTS == 'true' diff --git a/.github/workflows/build-linuxstatic.yml b/.github/workflows/build-linuxstatic.yml index 1c1af06a..2f6d19c0 100644 --- a/.github/workflows/build-linuxstatic.yml +++ b/.github/workflows/build-linuxstatic.yml @@ -51,7 +51,7 @@ jobs: - name: Check if binary is compiled id: check_file run: | - (test -f root/pkg-fetch/dist/*.sha256sum && echo ::set-output name=EXISTS::true) || echo ::set-output name=EXISTS::false + (test -f root/pkg-fetch/dist/*.sha256sum && echo "EXISTS=true" >> $GITHUB_OUTPUT) || echo "EXISTS=false" >> $GITHUB_OUTPUT - uses: actions/upload-artifact@v2 if: steps.check_file.outputs.EXISTS == 'true' diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 47881244..0e00987c 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -32,7 +32,7 @@ jobs: - name: Check if binary is compiled id: check_file run: | - (test -f dist/*.sha256sum && echo ::set-output name=EXISTS::true) || echo ::set-output name=EXISTS::false + (test -f dist/*.sha256sum && echo "EXISTS=true" >> $GITHUB_OUTPUT) || echo "EXISTS=false" >> $GITHUB_OUTPUT - uses: actions/upload-artifact@v3 if: steps.check_file.outputs.EXISTS == 'true' @@ -72,7 +72,7 @@ jobs: - name: Check if binary is compiled id: check_file run: | - (test -f dist/*.sha256sum && echo ::set-output name=EXISTS::true) || echo ::set-output name=EXISTS::false + (test -f dist/*.sha256sum && echo "EXISTS=true" >> $GITHUB_OUTPUT) || echo "EXISTS=false" >> $GITHUB_OUTPUT - uses: actions/upload-artifact@v3 if: steps.check_file.outputs.EXISTS == 'true' diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index fc05f24b..b71ce513 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -31,7 +31,7 @@ jobs: - name: Check if binary is compiled id: check_file run: | - if (Test-Path -Path dist\\*.sha256sum -PathType Leaf) { echo "::set-output name=EXISTS::true" } else { echo "::set-output name=EXISTS::false" } + if (Test-Path -Path dist\\*.sha256sum -PathType Leaf) { echo ""EXISTS=true" >> $GITHUB_OUTPUT" } else { echo ""EXISTS=false" >> $GITHUB_OUTPUT" } - uses: actions/upload-artifact@v2 if: steps.check_file.outputs.EXISTS == 'true'