Skip to content

Commit

Permalink
Merge pull request #5 from ProjectEKA/update-github-action
Browse files Browse the repository at this point in the history
Dheeraj | Replace set-env with EnvFiles in github actions
  • Loading branch information
dheeraj-p authored Nov 19, 2020
2 parents a90ff7c + c8266e1 commit 16b41fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Code coverage
run: ./gradlew jacocoTestReport
- name: Set env
run: echo ::set-env name=RELEASE_VERSION::$(echo $GITHUB_SHA | head -c7)
run: echo "RELEASE_VERSION=$(echo $GITHUB_SHA | head -c7)" >> $GITHUB_ENV
- name: Docker Registry
env:
DOCKER_REGISTRY_URL: docker.io
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Build and unit tests
run: ./gradlew clean build
- name: Set env
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10}
run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV
- name: Docker Registry
env:
DOCKER_REGISTRY_URL: docker.io
Expand Down

0 comments on commit 16b41fd

Please sign in to comment.