Skip to content

Commit

Permalink
Fixed legacy build.
Browse files Browse the repository at this point in the history
  • Loading branch information
klaussilveira committed Jan 15, 2022
1 parent 28827c6 commit f94636e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/legacy.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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

0 comments on commit f94636e

Please sign in to comment.