Added -fprofile-instr-generate to fix watchos build #13
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: Warn Release Pull Requests | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
jobs: | |
Check: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- name: check branch name | |
id: check-release | |
run: | | |
if [[ ${{ github.head_ref }} =~ ^release/([0-9]+\.[0-9]+\.[0-9]+$) ]]; then | |
echo "match=true" >> $GITHUB_OUTPUT | |
fi | |
- name: add comment if PR is release | |
if: steps.check-release.outputs.match == 'true' | |
uses: mshick/add-pr-comment@v2 | |
with: | |
message: | | |
**WARNING** : This PR will trigger a release and tag when merged. |