Skip to content

Commit

Permalink
Update from set-output to environment files for output (#2991)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith authored Oct 13, 2022
1 parent 02937ca commit 7dd6468
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/heads/release/v') }}
run: |
semver=$(echo ${{ github.ref }} | tail -c +21)
echo "::set-output name=semver::$semver"
echo "semver=$semver" >> $GITHUB_OUTPUT
- name: Docker meta server
id: docker_meta_server
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
- name: Get Deephaven Version
id: deephaven_version
run: |
echo "::set-output name=deephaven_version::$(cat build/version)"
echo "deephaven_version=$(cat build/version)" >> $GITHUB_OUTPUT
# TODO: switch to new GitHub cache backend when available
# https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md#github-cache
Expand Down Expand Up @@ -304,7 +304,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/heads/release/v') }}
run: |
semver=$(echo ${{ github.ref }} | tail -c +21)
echo "::set-output name=semver::$semver"
echo "semver=$semver" >> $GITHUB_OUTPUT
- name: Docker meta
id: docker_meta
Expand Down Expand Up @@ -344,7 +344,7 @@ jobs:
- name: Get Deephaven Version
id: deephaven_version
run: |
echo "::set-output name=deephaven_version::$(cat build/version)"
echo "deephaven_version=$(cat build/version)" >> $GITHUB_OUTPUT
- name: Docker build
uses: docker/build-push-action@v2
Expand Down Expand Up @@ -391,7 +391,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/heads/release/v') }}
run: |
semver=$(echo ${{ github.ref }} | tail -c +21)
echo "::set-output name=semver::$semver"
echo "semver=$semver" >> $GITHUB_OUTPUT
- name: Docker meta
id: docker_meta
Expand Down Expand Up @@ -431,7 +431,7 @@ jobs:
- name: Get Deephaven Version
id: deephaven_version
run: |
echo "::set-output name=deephaven_version::$(cat build/version)"
echo "deephaven_version=$(cat build/version)" >> $GITHUB_OUTPUT
- name: Build
uses: docker/build-push-action@v2
Expand All @@ -454,7 +454,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/heads/release/v') }}
run: |
semver=$(echo ${{ github.ref }} | tail -c +21)
echo "::set-output name=semver::$semver"
echo "semver=$semver" >> $GITHUB_OUTPUT
- name: Docker meta
id: docker_meta
Expand Down Expand Up @@ -522,7 +522,7 @@ jobs:
- name: Get Deephaven Version
id: deephaven_version
run: |
echo "::set-output name=deephaven_version::$(cat build/version)"
echo "deephaven_version=$(cat build/version)" >> $GITHUB_OUTPUT
- name: Docker build
uses: docker/build-push-action@v2
Expand Down Expand Up @@ -550,7 +550,7 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/heads/release/v') }}
run: |
semver=$(echo ${{ github.ref }} | tail -c +21)
echo "::set-output name=semver::$semver"
echo "semver=$semver" >> $GITHUB_OUTPUT
- name: Docker meta
id: docker_meta
Expand Down Expand Up @@ -607,7 +607,7 @@ jobs:
- name: Get Deephaven Version
id: deephaven_version
run: |
echo "::set-output name=deephaven_version::$(cat build/version)"
echo "deephaven_version=$(cat build/version)" >> $GITHUB_OUTPUT
- name: Docker build
uses: docker/build-push-action@v2
Expand Down

0 comments on commit 7dd6468

Please sign in to comment.