diff options
-rw-r--r-- | .github/workflows/bun-linux-build.yml | 15 | ||||
-rw-r--r-- | .github/workflows/bun-mac-aarch64.yml | 15 | ||||
-rw-r--r-- | .github/workflows/bun-mac-x64-baseline.yml | 15 | ||||
-rw-r--r-- | .github/workflows/bun-mac-x64.yml | 15 |
4 files changed, 32 insertions, 28 deletions
diff --git a/.github/workflows/bun-linux-build.yml b/.github/workflows/bun-linux-build.yml index ad03739e7..a5ab1dd26 100644 --- a/.github/workflows/bun-linux-build.yml +++ b/.github/workflows/bun-linux-build.yml @@ -122,17 +122,18 @@ jobs: path: ${{runner.temp}}/release/bun-${{matrix.tag}}.zip - name: Release id: release - uses: softprops/action-gh-release@v1 + uses: ncipollo/release-action@v1 if: github.ref == 'refs/heads/main' with: prerelease: true - generate_release_notes: true - body: "This is the canary release of Bun that corresponds to the commit [${{ github.sha }}]" + body: "This canary release of Bun corresponds to the commit [${{ github.sha }}]" + allowUpdates: true + replacesArtifacts: true + generateReleaseNotes: true + artifactErrorsFailBuild: true name: "Canary (${{github.sha}})" - tag_name: "canary" - files: | - ${{runner.temp}}/release/bun-${{matrix.tag}}.zip - ${{runner.temp}}/release/bun-${{matrix.tag}}-profile.zip + tag: "canary" + artifacts: "${{runner.temp}}/release/bun-${{matrix.tag}}.zip,${{runner.temp}}/release/bun-${{matrix.tag}}-profile.zip" - uses: actions/upload-artifact@v3 with: name: bun-obj-${{matrix.tag}} diff --git a/.github/workflows/bun-mac-aarch64.yml b/.github/workflows/bun-mac-aarch64.yml index 0546dbccc..19212645f 100644 --- a/.github/workflows/bun-mac-aarch64.yml +++ b/.github/workflows/bun-mac-aarch64.yml @@ -340,14 +340,15 @@ jobs: path: ${{runner.temp}}/release/${{matrix.tag}}.zip - name: Release id: release - uses: softprops/action-gh-release@v1 + uses: ncipollo/release-action@v1 if: github.ref == 'refs/heads/main' with: prerelease: true - generate_release_notes: true - body: "This is the canary release of Bun that corresponds to the commit [${{ github.sha }}]" + body: "This canary release of Bun corresponds to the commit [${{ github.sha }}]" + allowUpdates: true + replacesArtifacts: true + generateReleaseNotes: true + artifactErrorsFailBuild: true name: "Canary (${{github.sha}})" - tag_name: "canary" - files: | - ${{runner.temp}}/release/${{matrix.tag}}.zip - ${{runner.temp}}/release/${{matrix.tag}}-profile.zip + tag: "canary" + artifacts: "${{runner.temp}}/release/bun-${{matrix.tag}}.zip,${{runner.temp}}/release/bun-${{matrix.tag}}-profile.zip" diff --git a/.github/workflows/bun-mac-x64-baseline.yml b/.github/workflows/bun-mac-x64-baseline.yml index 456738fa0..4ff7d448c 100644 --- a/.github/workflows/bun-mac-x64-baseline.yml +++ b/.github/workflows/bun-mac-x64-baseline.yml @@ -337,14 +337,15 @@ jobs: path: ${{runner.temp}}/release/${{matrix.tag}}.zip - name: Release id: release - uses: softprops/action-gh-release@v1 + uses: ncipollo/release-action@v1 if: github.ref == 'refs/heads/main' with: prerelease: true - generate_release_notes: true - body: "This is the canary release of Bun that corresponds to the commit [${{ github.sha }}]" + body: "This canary release of Bun corresponds to the commit [${{ github.sha }}]" + allowUpdates: true + replacesArtifacts: true + generateReleaseNotes: true + artifactErrorsFailBuild: true name: "Canary (${{github.sha}})" - tag_name: "canary" - files: | - ${{runner.temp}}/release/${{matrix.tag}}.zip - ${{runner.temp}}/release/${{matrix.tag}}-profile.zip + tag: "canary" + artifacts: "${{runner.temp}}/release/bun-${{matrix.tag}}.zip,${{runner.temp}}/release/bun-${{matrix.tag}}-profile.zip" diff --git a/.github/workflows/bun-mac-x64.yml b/.github/workflows/bun-mac-x64.yml index a4bd76027..dbe728ae1 100644 --- a/.github/workflows/bun-mac-x64.yml +++ b/.github/workflows/bun-mac-x64.yml @@ -338,14 +338,15 @@ jobs: path: ${{runner.temp}}/release/${{matrix.tag}}.zip - name: Release id: release - uses: softprops/action-gh-release@v1 + uses: ncipollo/release-action@v1 if: github.ref == 'refs/heads/main' with: prerelease: true - generate_release_notes: true - body: "This is the canary release of Bun that corresponds to the commit [${{ github.sha }}]" + body: "This canary release of Bun corresponds to the commit [${{ github.sha }}]" + allowUpdates: true + replacesArtifacts: true + generateReleaseNotes: true + artifactErrorsFailBuild: true name: "Canary (${{github.sha}})" - tag_name: "canary" - files: | - ${{runner.temp}}/release/${{matrix.tag}}.zip - ${{runner.temp}}/release/${{matrix.tag}}-profile.zip + tag: "canary" + artifacts: "${{runner.temp}}/release/bun-${{matrix.tag}}.zip,${{runner.temp}}/release/bun-${{matrix.tag}}-profile.zip" |