Skip to content

Commit 2cb4f66

Browse files
committed
simple expression for publishing
1 parent 3db6385 commit 2cb4f66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333

3434
Github-Release:
3535
runs-on: ubuntu-latest
36-
#needs: [Test]
37-
if: ${{ startsWith(github.ref, 'refs/tags/v') && github.ref == 'refs/heads/main'}} #&& github.event_name == 'push'
36+
needs: [Test]
37+
if: startsWith(github.ref, 'refs/tags/v') #&& github.ref == 'refs/heads/main' && github.event_name == 'push'
3838
steps:
3939
- name: Create a release
4040
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)