-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 830 Bytes
/
c-cpp.yml
File metadata and controls
39 lines (30 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: C/C++ CI
permissions:
contents: write
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: make
run: make
- name: Configure git
run: |
git config user.name "enessmr"
git config user.email "enessmr22@proton.me"
- name: C
run: |
git pull origin master
git add .
git commit -m "Update prebuilt binaries" || echo "No changes to commit"
git pull --rebase origin master || echo "No remote changes to rebase"
- name: push myself so i can see this sh1t
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: master