diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f997f61..4b2c962 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: id: auto-version run: | version="$(~/auto version)" - echo "::set-output name=version::$version" + echo "version=$version" >> "$GITHUB_OUTPUT" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -50,7 +50,7 @@ jobs: id: latest-release run: | latest_tag="$(curl -fsSL https://api.github.com/repos/$GITHUB_REPOSITORY/releases/latest | jq -r .tag_name)" - echo "::set-output name=tag::$latest_tag" + echo "tag=$latest_tag" >> "$GITHUB_OUTPUT" - name: Checkout source uses: actions/checkout@v2