diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8ab3ab9..2bd39cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -81,12 +81,12 @@ jobs: DO_RELEASE=$(python minor.py) if [[ $DO_RELEASE == "1" ]] then - echo "::set-output name=release_type::minor" + echo "release_type=minor" >> $GITHUB_OUTPUT else - echo "::set-output name=release_type::skip" + echo "release_type=skip" >> $GITHUB_OUTPUT fi else - echo "::set-output name=release_type::${{ github.event.inputs.release_type }}" + echo "release_type=${{ github.event.inputs.release_type }}" >> $GITHUB_OUTPUT fi - name: Determine release version @@ -108,7 +108,7 @@ jobs: RELEASE_VERSION=$RELEASE_VERSION fi - echo "::set-output name=release_version::$RELEASE_VERSION" + echo "release_version=$RELEASE_VERSION" >> $GITHUB_OUTPUT - name: Determine next version if: ${{ steps.release_type.outputs.release_type != 'skip' }} @@ -125,14 +125,15 @@ jobs: NEXT_VERSION=$(python bump.py $RELEASE_TYPE $RELEASE_VERSION) fi - echo "::set-output name=next_version::$NEXT_VERSION" + echo "next_version=$NEXT_VERSION" >> $GITHUB_OUTPUT - name: Determine branch version if: ${{ steps.release_type.outputs.release_type != 'skip' }} env: RELEASE_VERSION: ${{ steps.release_version.outputs.release_version }} id: branch_version - run: echo "::set-output name=branch_version::$(echo $RELEASE_VERSION | sed 's/\.[0-9]*\+$//')" + run: | + echo "branch_version=$(echo $RELEASE_VERSION | sed 's/\.[0-9]*\+$//')" >> $GITHUB_OUTPUT - name: Log information run: |