Skip to content

Commit 6da66a3

Browse files
committed
chore: Added Release Please to Workflow
1 parent cf06f4f commit 6da66a3

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/php83.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,29 @@ jobs:
118118

119119
- name: Benchmarking
120120
run: phpbench run tests/webfiori/benchmark --report=default
121+
release_staging:
122+
needs:
123+
- "test"
124+
- "coding_standards_check"
125+
runs-on: ubuntu-latest
126+
if: github.ref == 'refs/heads/dev'
127+
steps:
128+
- uses: actions/checkout@v4
129+
- uses: google-github-actions/release-please-action@v3
130+
with:
131+
release-type: pre-release
132+
token: ${{ secrets.GITHUB_TOKEN }}
133+
release_prod:
134+
needs:
135+
- "test"
136+
- "coding_standards_check"
137+
runs-on: ubuntu-latest
138+
if: github.ref == 'refs/heads/master'
139+
steps:
140+
- uses: actions/checkout@v4
141+
- uses: google-github-actions/release-please-action@v3
142+
with:
143+
release-type: php
144+
token: ${{ secrets.GITHUB_TOKEN }}
121145

122146

0 commit comments

Comments
 (0)