mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
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:
parent
dbf597c2d8
commit
23760ab24b
4
.github/workflows/changelog.yml
vendored
4
.github/workflows/changelog.yml
vendored
@ -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
|
||||||
|
2
.github/workflows/release-build.yml
vendored
2
.github/workflows/release-build.yml
vendored
@ -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 }}
|
||||||
|
|
||||||
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user