Skip to content

Commit

Permalink
build: Update use of set-output in workflows. Resolves #983
Browse files Browse the repository at this point in the history
  • Loading branch information
himanshukandpal-28 authored and aalmiray committed Oct 27, 2022
1 parent 1e3f437 commit d116148
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/early-access.yml
Expand Up @@ -33,7 +33,7 @@ jobs:
id: vars
shell: bash
run: |
echo ::set-output name=VERSION::$(cat VERSION)
echo "VERSION=$(cat VERSION)" >>$GITHUB_OUTPUT
jlink:
needs: [precheck]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -35,7 +35,7 @@ jobs:
id: vars
shell: bash
run: |
echo ::set-output name=VERSION::${{ github.event.inputs.version }}
echo "VERSION=${{ github.event.inputs.version }}" >>$GITHUB_OUTPUT
jlink:
needs: [precheck]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke-tests-ant.yml
Expand Up @@ -23,7 +23,7 @@ jobs:
shell: bash
run: |
version=$(cat VERSION)
echo ::set-output name=VERSION::$(echo "$version")
echo "VERSION=$(echo "$version")" >>$GITHUB_OUTPUT
build:
needs: [ precheck ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke-tests-cli.yml
Expand Up @@ -23,7 +23,7 @@ jobs:
shell: bash
run: |
version=$(cat VERSION)
echo ::set-output name=VERSION::$(echo "$version")
echo "VERSION=$(echo "$version")" >>$GITHUB_OUTPUT
build:
needs: [ precheck ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke-tests-gradle.yml
Expand Up @@ -23,7 +23,7 @@ jobs:
shell: bash
run: |
version=$(cat VERSION)
echo ::set-output name=VERSION::$(echo "$version")
echo "VERSION=$(echo "$version")" >>$GITHUB_OUTPUT
build:
needs: [ precheck ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke-tests-maven.yml
Expand Up @@ -23,7 +23,7 @@ jobs:
shell: bash
run: |
version=$(cat VERSION)
echo ::set-output name=VERSION::$(echo "$version")
echo "VERSION=$(echo "$version")" >>$GITHUB_OUTPUT
build:
needs: [ precheck ]
Expand Down
Expand Up @@ -17,8 +17,8 @@ jobs:
- name: Variables
id: vars
run: |
echo ::set-output name=version::$(cat VERSION)
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
echo "version=$(cat VERSION)" >>$GITHUB_OUTPUT
echo "tag=${GITHUB_REF#refs/tags/}" >>$GITHUB_OUTPUT

- name: Create the AppImage
run: sh create-appimage.sh
Expand Down
Expand Up @@ -17,8 +17,8 @@ jobs:
- name: Variables
id: vars
run: |
echo ::set-output name=version::$(cat VERSION)
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
echo "version=$(cat VERSION)" >>$GITHUB_OUTPUT
echo "tag=${GITHUB_REF#refs/tags/}" >>$GITHUB_OUTPUT

- name: Create the AppImage
run: sh create-appimage.sh
Expand Down
Expand Up @@ -17,8 +17,8 @@ jobs:
- name: Variables
id: vars
run: |
echo ::set-output name=version::$(cat VERSION)
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
echo "version=$(cat VERSION)" >>$GITHUB_OUTPUT
echo "tag=${GITHUB_REF#refs/tags/}" >>$GITHUB_OUTPUT

- name: Create the AppImage
run: sh create-appimage.sh
Expand Down
Expand Up @@ -17,8 +17,8 @@ jobs:
- name: Variables
id: vars
run: |
echo ::set-output name=version::$(cat VERSION)
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
echo "version=$(cat VERSION)" >>$GITHUB_OUTPUT
echo "tag=${GITHUB_REF#refs/tags/}" >>$GITHUB_OUTPUT

- name: Create the AppImage
run: sh create-appimage.sh
Expand Down
Expand Up @@ -17,8 +17,8 @@ jobs:
- name: Variables
id: vars
run: |
echo ::set-output name=version::$(cat VERSION)
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
echo "version=$(cat VERSION)" >>$GITHUB_OUTPUT
echo "tag=${GITHUB_REF#refs/tags/}" >>$GITHUB_OUTPUT

- name: Create the AppImage
run: sh create-appimage.sh
Expand Down

0 comments on commit d116148

Please sign in to comment.