revert gcc warnign #144
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: SonarCloud Trigger | |
on: | |
push: | |
branches: [ master, '*-ci' ] | |
pull_request: | |
branches: [ master, '*-ci' ] | |
workflow_dispatch: | |
jobs: | |
run: | |
name: sonar_cloud_trigger | |
runs-on: ubuntu-latest | |
# just save the pull request number in case of pull request | |
steps: | |
- name: Save pull request number to file | |
if: github.event_name == 'pull_request' | |
run: echo ${{ github.event.number }} > pull_request_number.txt | |
- name: Archive pull request number | |
if: github.event_name == 'pull_request' | |
# update when https://github.com/actions/upload-artifact/issues/543 is fixed | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pull_request_number | |
path: pull_request_number.txt |