Skip to content

Commit

Permalink
Replace deprecated set-output command
Browse files Browse the repository at this point in the history
Also fix typo in previous commit
  • Loading branch information
stevedlawrence committed Oct 5, 2023
1 parent ada7bed commit 472cfda
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- is_release_job: false
- is_release_job: true
java_version: 8
os: ubuntu-lastest
os: ubuntu-latest
steps:

############################################################
Expand Down Expand Up @@ -67,10 +67,10 @@ jobs:
run: |
if [[ '${{ github.ref }}' == refs/tags/v* ]] && [[ '${{ matrix.is_release_job }}' == 'true' ]]
then
echo ::set-output name=is_release::true
echo ::set-output name=tag::$(echo ${{ github.ref }} | cut -dv -f2)
echo is_release=true >> $GITHUB_OUTPUT
echo tag=$(echo ${{ github.ref }} | cut -dv -f2) >> $GITHUB_OUTPUT
else
echo ::set-output name=is_release::false
echo is_release=false >> $GITHUB_OUTPUT
fi
shell: bash

Expand Down

0 comments on commit 472cfda

Please sign in to comment.