Skip to content

Commit 1d2c2c6

Browse files
authored
Merge pull request #560 from javierbrea/chore/do-not-use-set-output
Do not use set-output in pipeline
2 parents 7fbf363 + 7f56005 commit 1d2c2c6

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- master
66
- release
77
pull_request:
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
811
jobs:
912
test:
1013
runs-on: ubuntu-latest
@@ -16,7 +19,7 @@ jobs:
1619
uses: actions/checkout@v4
1720
- name: Extract branch name
1821
shell: bash
19-
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
22+
run: echo "branch=$(echo ${GITHUB_REF##*/})" >> $GITHUB_OUTPUT
2023
id: extract-branch
2124
- name: Use Node.js
2225
uses: actions/setup-node@v4

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
### Fixed
1111
### Removed
1212

13+
## [unreleased]
14+
15+
### Added
16+
* chore: Handle jobs concurrency in build workflow
17+
18+
### Changed
19+
* chore: Remove usage of "set-output" in build workflow
20+
1321
## [2.2.5] - 2023-11-15
1422

1523
### Changed

0 commit comments

Comments
 (0)