Skip to content

Commit

Permalink
Update CI workflow to trigger on push and pull_request events
Browse files Browse the repository at this point in the history
  • Loading branch information
uzimaru0000 committed Dec 29, 2023
1 parent 5b8cf98 commit c4d4a10
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: CI

on: push
on:
push:
branches:
- main
pull_request:

jobs:
build_cache:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ jobs:
id: gen_release_note
run: |
RELEASE_NOTE=$( gh api -X POST /repos/${{ github.repository }}/releases/generate-notes -F "tag_name=v0.1.0" -q .body)
echo "RELEASE_NOTE=$RELEASE_NOTE" >> $GITHUB_ENV
{
echo 'RELEASE_NOTE<<EOF'
echo $RELEASE_NOTE
echo EOF
} >> $GITHUB_ENV
- name: Create release
run: |
gh release create ${{ github.ref_name }} \
Expand Down

0 comments on commit c4d4a10

Please sign in to comment.