File tree Expand file tree Collapse file tree 2 files changed +35
-3
lines changed
Expand file tree Collapse file tree 2 files changed +35
-3
lines changed Original file line number Diff line number Diff line change 1+ name : build-release
2+ on :
3+ push :
4+ branches :
5+ - main
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Repo checkout
13+ uses : actions/checkout@v4
14+
15+ - name : Composer install
16+ uses : php-actions/composer@v6
17+
18+ - name : PHPStan check
19+ uses : php-actions/phpstan@v3
20+ with :
21+ path : src/
22+
23+ - name : Bump version and push tag
24+ id : bump
25+ 26+ with :
27+ github_token : ${{ secrets.GITHUB_TOKEN }}
28+ release_branches : main
29+
30+ - uses : ncipollo/release-action@v1
31+ with :
32+ tag : ${{ steps.bump.outputs.new_tag }}
33+ generateReleaseNotes : true
Original file line number Diff line number Diff line change 11name : publish-release
22
33on :
4- push :
5- branches :
6- - main
4+ release :
5+ types : [released]
76
87jobs :
98 build :
You can’t perform that action at this time.
0 commit comments