Skip to content

Commit

Permalink
Switch to use new Github environment file. (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcipriano authored Dec 2, 2020
1 parent 4366d86 commit 0117530
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/packaging-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
set -e
ci/generate_version_number.sh > VERSION
echo "Build ID: $(cat ./VERSION)"
echo "::set-env name=BUILD_ID::$(cat ./VERSION)"
echo "BUILD_ID=$(cat ./VERSION)" >> ${GITHUB_ENV}
- name: Build Docker image
uses: docker/build-push-action@v1
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
set -e
ci/generate_version_number.sh > VERSION
echo "Build ID: $(cat ./VERSION)"
echo "::set-env name=BUILD_ID::$(cat ./VERSION)"
echo "BUILD_ID=$(cat ./VERSION)" >> ${GITHUB_ENV}
- name: Extract database schema
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
set -e
ci/generate_version_number.sh > VERSION
echo "Build ID: $(cat ./VERSION)"
echo "::set-env name=BUILD_ID::$(cat ./VERSION)"
echo "BUILD_ID=$(cat ./VERSION)" >> ${GITHUB_ENV}
- name: Get current tag name
run: echo ::set-env name=TAG_NAME::${GITHUB_REF/refs\/tags\//}
run: echo "TAG_NAME=${GITHUB_REF/refs\/tags\//}" >> ${GITHUB_ENV}

- name: Verify tag name and version match
run: |
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
set -e
ci/generate_version_number.sh > VERSION
echo "Build ID: $(cat ./VERSION)"
echo "::set-env name=BUILD_ID::$(cat ./VERSION)"
echo "BUILD_ID=$(cat ./VERSION)" >> ${GITHUB_ENV}
- name: Pull Docker image from staging
run: |
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
set -e
ci/generate_version_number.sh > VERSION
echo "Build ID: $(cat ./VERSION)"
echo "::set-env name=BUILD_ID::$(cat ./VERSION)"
echo "BUILD_ID=$(cat ./VERSION)" >> ${GITHUB_ENV}
- name: Fetch artifacts
id: fetch_artifacts
Expand Down

0 comments on commit 0117530

Please sign in to comment.