diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4df235726..03bcd0ab3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: OPJ_NONCOMMERCIAL: 1 - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: build/openjpeg-*.tar.gz @@ -121,7 +121,7 @@ jobs: #OPJ_NONCOMMERCIAL: 1 - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: build/openjpeg-*.zip @@ -183,7 +183,7 @@ jobs: shell: bash - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: ${{startsWith(github.ref, 'refs/tags/') && env.OPJ_CI_INCLUDE_IF_DEPLOY == 1}} with: files: build/openjpeg-*.zip