diff --git a/.github/workflows/monthly_release.yml b/.github/workflows/monthly_release.yml index 1f5835014..d1c7ff89e 100644 --- a/.github/workflows/monthly_release.yml +++ b/.github/workflows/monthly_release.yml @@ -29,7 +29,7 @@ jobs: git config user.name github-actions git config user.email github-actions@github.com semantic-release version - echo ::set-output name=version::$(semantic-release print-version --current) + echo "version=$(semantic-release print-version --current)" >> $GITHUB_OUTPUT semantic-release changelog > './CHANGELOG.md' - name: Create release pull request uses: peter-evans/create-pull-request@v3 diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index f4c6e5a94..08e213db4 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -22,7 +22,7 @@ jobs: id: vers run: | pip install python-semantic-release - echo ::set-output name=version::$(semantic-release print-version --current) + echo "version=$(semantic-release print-version --current)" >> $GITHUB_OUTPUT - name: Create release id: create_release uses: actions/create-release@v1