Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] steps.create_tag.outputs.successful 在未创建标签时为空,而不是false #336

Closed
bling-yshs opened this issue May 27, 2024 · 2 comments

Comments

@bling-yshs
Copy link

这是我的workflow,例子在 https://github.com/bling-yshs/action-test/actions/runs/9249133856/job/25440491477

name: test
on:
  workflow_dispatch:
  push:

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Create Tag
        id: create_tag
        uses: jaywcjlove/create-tag-action@main
        with:
          test: '^release:'

      - run: echo ${{ steps.create_tag.outputs.successful }}

      - run: echo "yes"
        if: steps.create_tag.outputs.successful == 'true'

      - run: echo "no"
        if: steps.create_tag.outputs.successful == 'false'
@jaywcjlove
Copy link
Owner

@bling-yshs 看上去应该解决了

@bling-yshs
Copy link
Author

@bling-yshs 看上去应该解决了

👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants