Skip to content

Commit

Permalink
chore: fix release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sylc committed Oct 11, 2024
1 parent 222c40a commit a1ba607
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ on:
required: true

jobs:
build:
name: version bump
release:
name: version bump and publish
runs-on: ubuntu-latest
timeout-minutes: 5

permissions:
contents: read
id-token: write

steps:
- name: Clone repository
Expand All @@ -42,19 +46,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
deno task release ${{github.event.inputs.releaseKind}}
publish:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4

- name: Install Deno
uses: denoland/setup-deno@v2

- name: Publish package
run: deno publish

0 comments on commit a1ba607

Please sign in to comment.