perf: use Session Identifiers instead of just Server Address #87
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [ pull_request, push ] | |
jobs: | |
commit-checker: | |
runs-on: ubuntu-latest | |
outputs: | |
skip_build: ${{ steps.check.outputs.skip_build }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check commit message | |
id: check | |
run: | | |
commit_message=$(git log -1 --pretty=%B) | |
echo "Commit message: $commit_message" | |
if [[ "$commit_message" == *"[skip ci]"* ]]; then | |
echo "Skipping CI..." | |
echo "skip_build=true" >> $GITHUB_OUTPUT | |
else | |
echo "Confirming CI..." | |
echo "skip_build=false" >> $GITHUB_OUTPUT | |
fi | |
build-and-summary: | |
needs: commit-checker | |
if: needs.commit-checker.outputs.skip_build == 'false' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
uses: ./.github/actions/build_artifacts/ | |
- name: Generate summary | |
uses: ./.github/actions/summary/ |