diff --git a/.github/workflows/php83.yml b/.github/workflows/php83.yml index feb86a9..708e0ff 100644 --- a/.github/workflows/php83.yml +++ b/.github/workflows/php83.yml @@ -41,4 +41,26 @@ jobs: - name: CodeCov uses: codecov/codecov-action@v4 with: - token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file + token: ${{ secrets.CODECOV_TOKEN }} + release_staging: + needs: + - "test" + runs-on: ubuntu-latest + if: github.ref == 'refs/heads/dev' + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/release-please-action@v3 + with: + release-type: php + token: ${{ secrets.GITHUB_TOKEN }} + release_prod: + needs: + - "test" + runs-on: ubuntu-latest + if: github.ref == 'refs/heads/master' + steps: + - uses: actions/checkout@v4 + - uses: google-github-actions/release-please-action@v3 + with: + release-type: php + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file