Skip to content

Commit

Permalink
Update CI config files
Browse files Browse the repository at this point in the history
  • Loading branch information
guanguans committed Feb 7, 2023
1 parent 97fa71f commit b918dcd
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/publish-phar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,22 @@ jobs:
run: composer install --prefer-dist --no-progress

- name: Create the PHAR file.
run: ./ai-commit app:build ai-commit.phar --build-version=${{ steps.tag.outputs.tag }}
run: ./ai-commit app:build ai-commit --build-version=${{ steps.tag.outputs.tag }}

- name: Upload the PHAR artifact
uses: actions/upload-artifact@v3
with:
name: ai-commit.phar
path: builds/ai-commit.phar
name: ai-commit
path: builds/ai-commit

- name: Upload the PHAR to release
run: gh release upload v${{ steps.tag.outputs.tag }} builds/ai-commit.phar
run: gh release upload v${{ steps.tag.outputs.tag }} builds/ai-commit
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Commit bump
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: master
commit_message: Bump to ${{ github.event.release.name }}
file_pattern: builds/ai-commit CHANGELOG.md

0 comments on commit b918dcd

Please sign in to comment.