Skip to content

Commit

Permalink
update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
hellovai committed Jun 12, 2024
1 parent db291a6 commit a826dde
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: BAML Runtime
on:
push:
tags:
- "test-release/*.*"
- "*.*"

concurrency:
Expand Down Expand Up @@ -196,6 +197,7 @@ jobs:
publish-to-pypi:
environment: release
needs: [build-release, build-wasm]
if: ${{ !startsWith(github.ref, 'refs/tags/test-release') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -214,6 +216,7 @@ jobs:
publish-to-npm:
environment: release
needs: [build-release, build-wasm]
if: ${{ !startsWith(github.ref, 'refs/tags/test-release') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -227,6 +230,7 @@ jobs:
publish-vscode:
environment: release
needs: [build-release, build-wasm]
if: ${{ !startsWith(github.ref, 'refs/tags/test-release') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit a826dde

Please sign in to comment.