Skip to content

Commit 952eac0

Browse files
committed
Remove condition that prevents running rc workflow unless there's a -rc tag
1 parent 2c43f9d commit 952eac0

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

.github/workflows/release_candidates.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,39 +20,33 @@ jobs:
2020
ref: ${{ github.head_ref }}
2121

2222
- uses: pnpm/action-setup@v3
23-
if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }}
2423
with:
2524
version: 9.5
2625

2726
- name: Setup Node.js 18
2827
uses: actions/setup-node@v4
29-
if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }}
3028
with:
3129
node-version: '18.x'
3230
registry-url: https://registry.npmjs.org
3331
cache: pnpm
3432

3533
- name: Configure pnpm
36-
if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }}
3734
run: |
3835
pnpm config set auto-install-peers true
3936
pnpm config set exclude-links-from-lockfile true
4037
4138
- name: Install dependencies
42-
if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }}
4339
run: pnpm install --frozen-lockfile
4440

4541
- name: Test JS SDK
4642
working-directory: js
47-
if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }}
4843
run: |
4944
pnpm run test
5045
env:
5146
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
5247

5348
- name: Release JS Candidate
5449
working-directory: js
55-
if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') }}
5650
run: |
5751
npm version prerelease --preid=beta
5852
npm publish --tag beta
@@ -61,21 +55,18 @@ jobs:
6155

6256
- name: Set up Python
6357
uses: actions/setup-python@v4
64-
if: ${{ contains( github.event.pull_request.labels.*.name, 'python-rc') }}
6558
with:
6659
python-version: "3.8"
6760

6861
- name: Install and configure Poetry
6962
uses: snok/install-poetry@v1
70-
if: ${{ contains( github.event.pull_request.labels.*.name, 'python-rc') }}
7163
with:
7264
version: 1.8.1
7365
virtualenvs-create: true
7466
virtualenvs-in-project: true
7567
installer-parallel: true
7668

7769
- name: Test Python SDK
78-
if: ${{ contains( github.event.pull_request.labels.*.name, 'python-rc') }}
7970
working-directory: python
8071
run: |
8172
poetry install
@@ -84,7 +75,6 @@ jobs:
8475
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
8576

8677
- name: Release Candidate
87-
if: ${{ contains( github.event.pull_request.labels.*.name, 'python-rc') }}
8878
working-directory: python
8979
run: |
9080
poetry version prerelease
@@ -94,7 +84,6 @@ jobs:
9484
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
9585

9686
- name: Commit new versions
97-
if: ${{ contains( github.event.pull_request.labels.*.name, 'js-rc') || contains( github.event.pull_request.labels.*.name, 'python-rc') }}
9887
run: |
9988
git config user.name "github-actions[bot]"
10089
git config user.email "github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)