Skip to content

Commit

Permalink
Replace setting variable with set-env to using environment files
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-lysenok committed Dec 14, 2020
1 parent d283827 commit 431d1c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@master
- name: Get release version
id: get_version
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF#refs/heads/})
run: echo "RELEASE_VERSION=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@master
- name: Get release version
id: get_version
run: echo ::set-env name=RELEASE_VERSION::$(echo ${{ github.event.release.tag_name }} | sed "s/v//")
run: echo "RELEASE_VERSION=$(echo ${{ github.event.release.tag_name }} | sed 's/v//')" >> $GITHUB_ENV
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
Expand Down

0 comments on commit 431d1c9

Please sign in to comment.