diff --git a/.github/workflows/staging-release.yaml b/.github/workflows/staging-release.yaml index 04e91df3156..b5a799a3e62 100644 --- a/.github/workflows/staging-release.yaml +++ b/.github/workflows/staging-release.yaml @@ -784,7 +784,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Release 2.0 - not latest - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(inputs.version, '2.0') with: body: "https://fluentbit.io/announcements/v${{ inputs.version }}/" @@ -795,7 +795,7 @@ jobs: target_commitish: '2.0' - name: Release 2.1 - not latest - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(inputs.version, '2.1') with: body: "https://fluentbit.io/announcements/v${{ inputs.version }}/" @@ -806,7 +806,7 @@ jobs: target_commitish: '2.1' - name: Release 2.2 and latest - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(inputs.version, '2.2') with: body: "https://fluentbit.io/announcements/v${{ inputs.version }}/"