Skip to content

Commit

Permalink
removed deprecated output
Browse files Browse the repository at this point in the history
  • Loading branch information
cesaregarza committed Oct 5, 2023
1 parent 958fe75 commit c2b76b7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main_new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Read .version file
id: semver
run: |
echo "::set-output name=version::$(cat .version)"
echo "version=$(cat .version)" >> $GITHUB_OUTPUT
- name: Get latest release
id: latest_release
Expand All @@ -35,7 +35,8 @@ jobs:
$(curl -sH "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
"https://api.github.com/repos/${{ github.repository }}/releases/latest" \
| jq -r '.tag_name')
echo "::set-output name=release::${LATEST_RELEASE}"
# echo "::set-output name=release::${LATEST_RELEASE}"
echo "release=${LATEST_RELEASE}"" >> $GITHUB_OUTPUT
echo "Latest Release: ${LATEST_RELEASE}"
- name: Calculate next version
Expand Down Expand Up @@ -63,7 +64,8 @@ jobs:
fi
echo "Next Version: ${NEXT_VERSION}"
echo "::set-output name=version::${NEXT_VERSION}"
# echo "::set-output name=version::${NEXT_VERSION}"
echo "version=${NEXT_VERSION}" >> $GITHUB_OUTPUT
- name: Build and Test
Expand Down

0 comments on commit c2b76b7

Please sign in to comment.