update: 减少GitHub Actions重复运行

This commit is contained in:
zhshch2002
2022-05-25 16:56:13 +08:00
parent 5fe1110ab3
commit d45b5eb032

View File

@@ -18,7 +18,7 @@ jobs:
Build:
needs: test
if: contains('{{ github.ref }}', 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3