From f564963e840944f92c415bb0c2f4673cc617b547 Mon Sep 17 00:00:00 2001 From: liulifox233 Date: Sun, 22 Dec 2024 09:37:24 +0800 Subject: [PATCH] Fix ci --- .github/workflows/formula_generator.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/formula_generator.yml b/.github/workflows/formula_generator.yml index aaaae79..98e1c81 100644 --- a/.github/workflows/formula_generator.yml +++ b/.github/workflows/formula_generator.yml @@ -26,7 +26,7 @@ jobs: - name: Get byrdocs-cli version id: get_version - run: echo "version=$(pip list --format freeze | grep byrdocs_cli | cut -d'=' -f3)" >> "$GITHUB_ENV" + run: echo "version=$(pip list --format freeze | grep byrdocs_cli | cut -d'=' -f3)" >> "$GITHUB_OUTPUT" - name: Generate formula run: python -m poet -f byrdocs-cli > byrdocs-cli.rb @@ -38,5 +38,5 @@ jobs: run: | git add byrdocs-cli.rb git commit -m "Update byrdocs-cli formula to version ${{ steps.get_version.outputs.version }}" - git tag -a "v${{ steps.get_version.outputs.version }}" + git tag "v${{ steps.get_version.outputs.version }}" git push origin --tags \ No newline at end of file