workflows,scripts: migrate to use GITHUB_OUTPUT

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-11-22 17:15:37 +01:00
parent 017313d886
commit 609b5ce65b
5 changed files with 19 additions and 7 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ jobs:
- name: find location of global yarn cache
id: yarn-cache
if: steps.cache-modules.outputs.cache-hit != 'true'
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: cache global yarn cache
uses: actions/cache@v3
+1 -1
View File
@@ -33,7 +33,7 @@ jobs:
}
const prNumber = artifact.name.slice('pr_number-'.length)
console.log(`::set-output name=pr-number::${prNumber}`);
core.setOutput('pr-number', prNumber);
- uses: backstage/actions/re-review@v0.5.7
with:
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
# also contains an "--config=.github/vale/config.ini" option
- name: generate vale args
id: generate
run: echo "::set-output name=args::$(node scripts/check-docs-quality.js --ci-args)"
run: echo "args=$(node scripts/check-docs-quality.js --ci-args)" >> $GITHUB_OUTPUT
- name: documentation quality check
uses: errata-ai/vale-action@v2.0.1