Skip to content

Commit

Permalink
Merge pull request #49 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 97a2d5e + b1ab27e commit 9fd1bb4
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 @@ -17,7 +17,7 @@ jobs:
- name: Build with Gradle
run: ./gradlew build
- 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 @@ -17,7 +17,7 @@ jobs:
- name: Build with Gradle
run: ./gradlew 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 9fd1bb4

Please sign in to comment.