Skip to content

bugfix (#4)

bugfix (#4) #62

Workflow file for this run

name: TEST
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
compile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
cmake -S . -B build
echo "#cppwarningnotifier commit=${{ github.sha }}" >> compilation.log
cmake --build build >> compilation.log 2>&1
- uses: actions/upload-artifact@v4
with:
name: compilation_log
path: compilation*.log
- run: ./build/hello_world
run-notifier:
needs:
- compile
runs-on: ubuntu-latest
environment:
name: MyEnvironment
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: compilation_log
- uses: ./
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APP_ID: ${{ vars.APP_ID }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
INSTALLATION_ID: ${{ vars.INSTALLATION_ID }}
CLIENT_ID: ${{ vars.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}