We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd029d6 commit bce6e02Copy full SHA for bce6e02
2 files changed
.github/workflows/myActions.yaml
@@ -0,0 +1,23 @@
1
+name: Build C++
2
+
3
+on:
4
+ push:
5
+ branches: "**"
6
+ pull_request:
7
+ branches: [ main ]
8
9
+jobs:
10
+ install:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Install dependencies
14
+ run: |
15
+ sudo apt-get update
16
+ sudo apt-get install -y -f build-essential g++ cmake
17
+ build:
18
+ needs: install
19
20
21
+ - uses: actions/checkout@v4
22
+ - name: Build project
23
+ run: g++ -std=c++17 main.cpp
main.cpp
@@ -20,6 +20,6 @@ int main()
cout << "Remainder: " << x % y << endl;
cout << "Square Root: " << sqrt(x) << endl;
cout << "Square: " << pow(x, y) << endl;
-
+ cout << "this is a change for ymal" << endl;
24
return 0;
25
}
0 commit comments