Skip to content

Commit 5ecb11e

Browse files
committed
ci: change yaml
1 parent 93c2d53 commit 5ecb11e

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

.github/workflows/bump-version.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ on:
77
description: "Project list"
88
required: true
99
type: string
10-
first-release:
11-
description: 'Is first release?'
12-
required: false
13-
type: boolean
14-
default: false
1510
beta-release:
1611
description: 'Is beta release?'
1712
required: false
@@ -50,5 +45,5 @@ jobs:
5045
run: |
5146
git config --global user.email "[email protected]"
5247
git config --global user.name "GitHub Actions"
53-
npx nx release --skip-publish --first-release=${{ inputs.first-release }} --projects=${{ inputs.projects }} --dry-run=${{ inputs.dry-run }}
48+
npx nx release --skip-publish --projects=${{ inputs.projects }} --dry-run=${{ inputs.dry-run }}
5449
shell: bash

.github/workflows/create-release.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,6 @@ on:
4747
default: ""
4848
type: choice
4949
options: *project_options
50-
first-release:
51-
description: 'Is first release?'
52-
required: false
53-
type: boolean
54-
default: false
5550
beta-release:
5651
description: 'Is beta release?'
5752
required: false
@@ -113,9 +108,8 @@ jobs:
113108
uses: ./.github/workflows/bump-version.yml
114109
with:
115110
projects: ${{ needs.compute-projects.outputs.finalProjects }}
116-
first-release: ${{ needs.compute-projects.outputs.first-release }}
117-
beta-release: ${{ needs.compute-projects.outputs.beta-release }}
118-
dry-run: ${{ needs.compute-projects.outputs.dry-run }}
111+
beta-release: ${{ github.event.inputs.beta-release }}
112+
dry-run: ${{ github.event.inputs.dry-run }}
119113
secrets:
120114
NPM_ACCESS_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
121115
GITHUB_TOKEN_SECRET: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)