Skip to content

Commit

Permalink
fix deploy pipeline regarding to the set-env depreciation
Browse files Browse the repository at this point in the history
  • Loading branch information
mabulgu committed Dec 7, 2020
1 parent 56091a4 commit f3127c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Get release version
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Get code version
run: echo ::set-env name=STRIMZI_CLI_VERSION::$(grep -oP "(?<=version=')[^']*" setup.py)
run: echo "STRIMZI_CLI_VERSION=$(grep -oP "(?<=version=')[^']*" setup.py)" >> $GITHUB_ENV
- name: Compare release and code version
if: ${{ env.RELEASE_VERSION != env.STRIMZI_CLI_VERSION }}
run: exit 1
Expand Down

0 comments on commit f3127c0

Please sign in to comment.