mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 21:32:05 +00:00
Use newer version of setup-bun
This commit is contained in:
35
.github/workflows/bun-linux-aarch64.yml
vendored
35
.github/workflows/bun-linux-aarch64.yml
vendored
@@ -128,38 +128,3 @@ jobs:
|
||||
name: "Canary (${{github.sha}})"
|
||||
tag: "canary"
|
||||
artifacts: "${{runner.temp}}/release/bun-${{matrix.tag}}.zip,${{runner.temp}}/release/bun-${{matrix.tag}}-profile.zip"
|
||||
- id: setup-bun
|
||||
name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v0.1.8
|
||||
if: |
|
||||
github.repository_owner == 'oven-sh'
|
||||
&& github.ref == 'refs/heads/main'
|
||||
with:
|
||||
bun-version: canary
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# - name: Sign Release
|
||||
# id: sign-release
|
||||
# if: |
|
||||
# github.repository_owner == 'oven-sh'
|
||||
# && github.ref == 'refs/heads/main'
|
||||
# env:
|
||||
# GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
||||
# run: |
|
||||
# echo "$GPG_PASSPHRASE" | bun run .scripts/sign-release.ts
|
||||
# - name: Release Checksum
|
||||
# id: release-checksum
|
||||
# uses: ncipollo/release-action@v1
|
||||
# if: |
|
||||
# github.repository_owner == 'oven-sh'
|
||||
# && github.ref == 'refs/heads/main'
|
||||
# with:
|
||||
# prerelease: true
|
||||
# body: "This canary release of Bun corresponds to the commit [${{ github.sha }}]"
|
||||
# allowUpdates: true
|
||||
# replacesArtifacts: true
|
||||
# generateReleaseNotes: true
|
||||
# artifactErrorsFailBuild: true
|
||||
# token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# name: "Canary (${{github.sha}})"
|
||||
# tag: "canary"
|
||||
# artifacts: "SHASUMS256.txt,SHASUMS256.txt.asc"
|
||||
|
||||
10
.github/workflows/bun-release-canary.yml
vendored
10
.github/workflows/bun-release-canary.yml
vendored
@@ -17,10 +17,9 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
- id: setup-bun
|
||||
name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v0.1.8
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: canary
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- id: bun-install
|
||||
name: Install Dependencies
|
||||
run: bun install
|
||||
@@ -47,15 +46,12 @@ jobs:
|
||||
node-version: latest
|
||||
- id: setup-bun
|
||||
name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v0.1.8
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: canary
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- id: bun-install
|
||||
name: Install Dependencies
|
||||
run: |
|
||||
bun upgrade --canary
|
||||
bun install
|
||||
run: bun install
|
||||
- id: setup-env
|
||||
name: Setup Environment
|
||||
run: |
|
||||
|
||||
9
.github/workflows/bun-release.yml
vendored
9
.github/workflows/bun-release.yml
vendored
@@ -30,10 +30,9 @@ jobs:
|
||||
echo "TAG=${TAG}" >> ${GITHUB_ENV}
|
||||
- id: setup-bun
|
||||
name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v0.1.8
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: canary
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- id: bun-install
|
||||
name: Install Dependencies
|
||||
run: bun install
|
||||
@@ -63,10 +62,9 @@ jobs:
|
||||
echo "TAG=${TAG}" >> ${GITHUB_ENV}
|
||||
- id: setup-bun
|
||||
name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v0.1.8
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: canary
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- id: bun-install
|
||||
name: Install Dependencies
|
||||
run: bun install
|
||||
@@ -100,10 +98,9 @@ jobs:
|
||||
node-version: latest
|
||||
- id: setup-bun
|
||||
name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v0.1.8
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: canary
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- id: bun-install
|
||||
name: Install Dependencies
|
||||
run: |
|
||||
|
||||
7
.github/workflows/bun-types-tests.yml
vendored
7
.github/workflows/bun-types-tests.yml
vendored
@@ -2,11 +2,11 @@ name: Test bun-types
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'packages/bun-types/**'
|
||||
- "packages/bun-types/**"
|
||||
branches: [main]
|
||||
pull_request:
|
||||
paths:
|
||||
- 'packages/bun-types/**'
|
||||
- "packages/bun-types/**"
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
@@ -21,10 +21,9 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install bun
|
||||
uses: oven-sh/setup-bun@v0.1.8
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: canary
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
|
||||
Reference in New Issue
Block a user