Fix for set-ouput deprecation (#5292)

* Fix for set-ouput deprecation

Related to https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

* rm extra space
This commit is contained in:
Filipe Freire 2022-10-17 13:14:47 +01:00 committed by GitHub
parent dbf597c2d8
commit 23760ab24b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@ jobs:
- name: Save release version as output - name: Save release version as output
id: version id: version
run: echo "::set-output name=version::$RELEASE_VERSION" run: echo "version=$RELEASE_VERSION" >> $GITHUB_OUTPUT
env: env:
RELEASE_VERSION: ${{ env.RELEASE_VERSION }} RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
@ -104,7 +104,7 @@ jobs:
- name: Set timestamp - name: Set timestamp
id: timestamp id: timestamp
run: echo "::set-output name=timestamp::$(date --iso-8601=seconds)" run: echo "timestamp=$(date --iso-8601=seconds)" >> $GITHUB_OUTPUT
- name: Find Comment - name: Find Comment
uses: peter-evans/find-comment@v1 uses: peter-evans/find-comment@v1

View File

@ -136,7 +136,7 @@ jobs:
id: release_version id: release_version
shell: bash shell: bash
run: | run: |
echo ::set-output name=version::${BRANCH/release\//} echo "version=${BRANCH/release\//}" >> $GITHUB_OUTPUT
env: env:
BRANCH: ${{ github.ref_name }} BRANCH: ${{ github.ref_name }}

View File

@ -70,8 +70,8 @@ jobs:
INSO_VERSION="$(jq .version packages/insomnia-inso/package.json -rj)-run.${{ github.run_number }}" INSO_VERSION="$(jq .version packages/insomnia-inso/package.json -rj)-run.${{ github.run_number }}"
PKG_NAME="inso-${{ matrix.os }}-$INSO_VERSION" PKG_NAME="inso-${{ matrix.os }}-$INSO_VERSION"
echo ::set-output name=pkg-name::$PKG_NAME echo "pkg-name=$PKG_NAME" >> $GITHUB_OUTPUT
echo ::set-output name=inso-version::$INSO_VERSION echo "inso-version=$INSO_VERSION" >> $GITHUB_OUTPUT
- name: Run Inso NPM package tests - name: Run Inso NPM package tests
run: npm run test:bundled-inso run: npm run test:bundled-inso