Skip to content

Commit c1b603a

Browse files
authored
Merge pull request #49 from Adrianmjim/fix/deprecated-github-variables-use
fix(ci): Remove deprecated github action variable use
2 parents 7cb80e2 + e0e8483 commit c1b603a

File tree

5 files changed

+4
-231
lines changed

5 files changed

+4
-231
lines changed

.github/workflows/create_release.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,15 @@ jobs:
3838
3939
- name: Create changelog
4040
id: changelog
41-
run: >-
42-
echo "::set-output name=CHANGELOG::$(
43-
conventional-changelog -p conventionalcommits
44-
)"
41+
run: echo "CHANGELOG=$(conventional-changelog -p conventionalcommits)" >> $GITHUB_OUTPUT
4542

4643
- name: Apply standard-version
4744
run: |
48-
standard-version -t "" --no-verify --first-release
45+
standard-version -t "" --no-verify
4946
5047
- name: Get new version
5148
id: version
52-
run: >-
53-
echo "::set-output name=VERSION::$(
54-
jq .version package.json -r
55-
)"
49+
run: echo "VERSION=$(jq .version package.json -r)" >> $GITHUB_OUTPUT
5650

5751
- name: Fix packages
5852
run: |
@@ -73,6 +67,6 @@ jobs:
7367
env:
7468
GH_TOKEN: ${{ github.token }}
7569
run: |
76-
gh release create ${{ steps.version.outputs.VERSION }} --notes "${{ steps.changelog.outputs.CHANGELOG }}"
70+
gh release create ${{ steps.version.outputs.VERSION }} --generate-notes
7771
7872

config/jest/jest-resolver.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

config/jest/jest.config.base.js

Lines changed: 0 additions & 157 deletions
This file was deleted.

config/jest/jest.config.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

config/jest/jest.js.config.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)