From f94636e51d6da71b06396d9f5a54ec0323dbe71a Mon Sep 17 00:00:00 2001 From: Klaus Silveira Date: Sat, 15 Jan 2022 00:22:02 -0500 Subject: [PATCH] Fixed legacy build. --- .github/workflows/legacy.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/legacy.yml b/.github/workflows/legacy.yml index e25189d3..98541f1e 100644 --- a/.github/workflows/legacy.yml +++ b/.github/workflows/legacy.yml @@ -1,11 +1,17 @@ name: Legacy Build on: + workflow_dispatch: ~ + push: - branches: [ legacy ] + branches: + - legacy + tags: + - 1.** pull_request: - branches: [ legacy ] + branches: + - legacy jobs: build: @@ -40,6 +46,7 @@ jobs: run: composer run-script test release: + if: startsWith(github.ref, 'refs/tags/1') runs-on: ubuntu-latest needs: [build] steps: @@ -54,7 +61,6 @@ jobs: - name: Release uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') with: generate_release_notes: true files: gitlist-${{ github.ref_name }}.zip