-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(workflows): use environment files
- https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ - https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#environment-files Signed-off-by: Lexus Drumgold <[email protected]>
- Loading branch information
1 parent
13fccad
commit 7359e11
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ jobs: | |
ref: main | ||
- id: version | ||
name: Get project version | ||
run: echo "::set-output name=result::$(jq .version package.json -r)" | ||
run: echo "result=$(jq .version package.json -r)" >> $GITHUB_OUTPUT | ||
- id: query | ||
name: Query linked issues | ||
uses: octokit/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ jobs: | |
ref: ${{ format('refs/tags/{0}', env.TAG) }} | ||
- id: version | ||
name: Get package version | ||
run: echo "::set-output name=result::$(jq .version package.json -r)" | ||
run: echo "result=$(jq .version package.json -r)" >> $GITHUB_OUTPUT | ||
- id: dist-tag | ||
name: Get dist tag | ||
uses: flex-development/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,14 +52,14 @@ jobs: | |
ref: ${{ env.REF }} | ||
- id: version | ||
name: Get version | ||
run: echo "::set-output name=result::$(jq .version package.json -r)" | ||
run: echo "result=$(jq .version package.json -r)" >> $GITHUB_OUTPUT | ||
- id: tag-prefix | ||
name: Get release tag prefix | ||
run: echo "::set-output name=result::$(jq .tagPrefix package.json -r)" | ||
run: echo "result=$(jq .tagPrefix package.json -r)" >> $GITHUB_OUTPUT | ||
- id: tag | ||
name: Get release tag | ||
run: | | ||
echo "::set-output name=result::${{ format('{0}{1}', steps.tag-prefix.outputs.result, steps.version.outputs.result) }}" | ||
echo "result=${{ format('{0}{1}', steps.tag-prefix.outputs.result, steps.version.outputs.result) }}" >> $GITHUB_OUTPUT | ||
- id: dist-tag | ||
name: Get dist tag | ||
uses: flex-development/[email protected] | ||
|