From 3697d075f5393498b22813a2ffd44452edb129c5 Mon Sep 17 00:00:00 2001 From: "sm62812@gmail.com" Date: Fri, 17 Feb 2023 11:34:58 -0800 Subject: [PATCH 1/5] created error --- man.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/man.cpp b/man.cpp index e45a359..4c7fe6d 100644 --- a/man.cpp +++ b/man.cpp @@ -4,5 +4,4 @@ using namespace std; int main() { cout << "Hello world!"; - return 0; -} \ No newline at end of file + return 0;} \ No newline at end of file From ea267c25b5b628cc86184c714fd03485b49b2ad8 Mon Sep 17 00:00:00 2001 From: "sm62812@gmail.com" Date: Fri, 17 Feb 2023 11:38:28 -0800 Subject: [PATCH 2/5] created error --- man.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/man.cpp b/man.cpp index 4c7fe6d..bfe9788 100644 --- a/man.cpp +++ b/man.cpp @@ -1,7 +1,6 @@ #include "iostream" using namespace std; // -int main() -{ +int main(){ cout << "Hello world!"; return 0;} \ No newline at end of file From 03e8f9dc77228647e87c4a6685482187e5620bf4 Mon Sep 17 00:00:00 2001 From: "sm62812@gmail.com" Date: Fri, 17 Feb 2023 11:39:38 -0800 Subject: [PATCH 3/5] created error --- man.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/man.cpp b/man.cpp index bfe9788..0b12850 100644 --- a/man.cpp +++ b/man.cpp @@ -1,6 +1,8 @@ #include "iostream" using namespace std; // -int main(){ +int main() +{ cout << "Hello world!"; - return 0;} \ No newline at end of file + return 0 +} \ No newline at end of file From 5b5d056feaf29d78b77a667a7138fa9692ece7d5 Mon Sep 17 00:00:00 2001 From: "sm62812@gmail.com" Date: Fri, 17 Feb 2023 11:46:10 -0800 Subject: [PATCH 4/5] "added readme" --- readme.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..afbc866 --- /dev/null +++ b/readme.md @@ -0,0 +1 @@ +[![Build C++](https://github.com/murthy-001/practice2/actions/workflows/myworkflow.yml/badge.svg)](https://github.com/murthy-001/practice2/actions/workflows/myworkflow.yml) \ No newline at end of file From b3141a84570747d5a03835cd0d2cd588dc14b338 Mon Sep 17 00:00:00 2001 From: murthy-001 <124085326+murthy-001@users.noreply.github.com> Date: Fri, 17 Feb 2023 11:51:25 -0800 Subject: [PATCH 5/5] changes yml --- .github/workflows/myworkflow.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/myworkflow.yml b/.github/workflows/myworkflow.yml index 581cbe8..5f9e76f 100644 --- a/.github/workflows/myworkflow.yml +++ b/.github/workflows/myworkflow.yml @@ -10,15 +10,14 @@ jobs: install: runs-on: ubuntu-latest steps: - - name: install dependencies - run: | + - name: Install dependencies + run: | sudo apt-get update sudo apt-get install -y -f build-essential g++ cmake - build: needs: install runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Build project - run: g++ main.cpp -o test.o + - uses: actions/checkout@v3 + - name: Build project + run: g++ main.cpp -std=c++17 -o firstIO