From 346c8cb1e01339e0aff397eff5335a421d818ae3 Mon Sep 17 00:00:00 2001 From: {ravi kumar bulusu} <{bkr_rk@hoitmail.com}> Date: Tue, 10 Sep 2024 17:37:11 +0530 Subject: [PATCH 01/13] deleted pages.yml --- .github/workflows/pages.yml | 62 ------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 .github/workflows/pages.yml diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml deleted file mode 100644 index cedae546..00000000 --- a/.github/workflows/pages.yml +++ /dev/null @@ -1,62 +0,0 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - -# Sample workflow for building and deploying a Jekyll site to GitHub Pages -name: Deploy Jekyll site to Pages - -on: - push: - branches: ["main"] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - -# Allow one concurrent deployment -concurrency: - group: "pages" - cancel-in-progress: true - -jobs: - # Build job - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.1' # Not needed with a .ruby-version file - bundler-cache: true # runs 'bundle install' and caches installed gems automatically - cache-version: 0 # Increment this number if you need to re-download cached gems - - name: Setup Pages - id: pages - uses: actions/configure-pages@v2 - - name: Build with Jekyll - # Outputs to the './_site' directory by default - run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" - env: - JEKYLL_ENV: production - - name: Upload artifact - # Automatically uploads an artifact from the './_site' directory by default - uses: actions/upload-pages-artifact@v1 - - # Deployment job - deploy: - environment: - name: github-pages - url: "${{ steps.deployment.outputs.page_url }}" - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 From 9fb44addf5d1cf0e9a4d66817960a4ab14dea522 Mon Sep 17 00:00:00 2001 From: {ravi kumar bulusu} <{bkr_rk@hoitmail.com}> Date: Tue, 10 Sep 2024 18:21:48 +0530 Subject: [PATCH 02/13] added workflow yaml file --- .github/workflows/first-workflow.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/first-workflow.yml diff --git a/.github/workflows/first-workflow.yml b/.github/workflows/first-workflow.yml new file mode 100644 index 00000000..f9b64d52 --- /dev/null +++ b/.github/workflows/first-workflow.yml @@ -0,0 +1,20 @@ +name: First Workflow + +on: [push] + +jobs: + job1: + runs-on: ubuntu-latest + steps: + - name: Echo Command 1 in Job 1 + run: echo "Step1 complete!" + - name: Echo Command 2 in Job 1 + run: echo "Step2 complete!" + + job2: + runs-on: ubuntu-latest + steps: + - name: Echo Command 1 in Job 2 + run: echo "Step1 complete!" + - name: Echo Command 2 in Job 2 + run: echo "Step2 complete!" \ No newline at end of file From e99201a8711c985be4a83b54f5e99aaa37075fb3 Mon Sep 17 00:00:00 2001 From: {ravi kumar bulusu} <{bkr_rk@hoitmail.com}> Date: Tue, 10 Sep 2024 20:27:14 +0530 Subject: [PATCH 03/13] updated job2 --- .github/workflows/first-workflow.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/first-workflow.yml b/.github/workflows/first-workflow.yml index f9b64d52..fc852349 100644 --- a/.github/workflows/first-workflow.yml +++ b/.github/workflows/first-workflow.yml @@ -13,8 +13,8 @@ jobs: job2: runs-on: ubuntu-latest - steps: - - name: Echo Command 1 in Job 2 - run: echo "Step1 complete!" - - name: Echo Command 2 in Job 2 - run: echo "Step2 complete!" \ No newline at end of file + steps: + - name: Cowsay Hello + uses: peter-evans/cowsay@v1 + with: + message: "Ready for prod–ship it!" \ No newline at end of file From 7088fcc3d7c82eb5dd160470a892bbad24b2b9c2 Mon Sep 17 00:00:00 2001 From: {ravi kumar bulusu} <{bkr_rk@hoitmail.com}> Date: Tue, 10 Sep 2024 20:36:21 +0530 Subject: [PATCH 04/13] updatede job 2 --- .github/workflows/first-workflow.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/first-workflow.yml b/.github/workflows/first-workflow.yml index fc852349..d3c72f4b 100644 --- a/.github/workflows/first-workflow.yml +++ b/.github/workflows/first-workflow.yml @@ -13,8 +13,8 @@ jobs: job2: runs-on: ubuntu-latest - steps: - - name: Cowsay Hello - uses: peter-evans/cowsay@v1 + steps: + - name: Cowsays + uses: mscoutermarsh/cowsays-action@v1 with: - message: "Ready for prod–ship it!" \ No newline at end of file + text: "Ready for prod–ship it!" \ No newline at end of file From 317079a7bf36974b57843b6316cb571681c7091e Mon Sep 17 00:00:00 2001 From: {ravi kumar bulusu} <{bkr_rk@hoitmail.com}> Date: Tue, 10 Sep 2024 20:42:28 +0530 Subject: [PATCH 05/13] added echo with colored text --- .github/workflows/first-workflow.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/first-workflow.yml b/.github/workflows/first-workflow.yml index d3c72f4b..939b624d 100644 --- a/.github/workflows/first-workflow.yml +++ b/.github/workflows/first-workflow.yml @@ -7,9 +7,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Echo Command 1 in Job 1 - run: echo "Step1 complete!" + run: echo -e "\033[35mStep1 complete!\033[0m" - name: Echo Command 2 in Job 1 - run: echo "Step2 complete!" + run: echo -e "\033[35mStep2 complete!\033[0m" job2: runs-on: ubuntu-latest @@ -17,4 +17,5 @@ jobs: - name: Cowsays uses: mscoutermarsh/cowsays-action@v1 with: - text: "Ready for prod–ship it!" \ No newline at end of file + text: "\033[35mReady for prod–ship it!\033[0m" + run: echo $text \ No newline at end of file From 42114a4294669df83fe722c757d691dd9d172aaa Mon Sep 17 00:00:00 2001 From: {ravi kumar bulusu} <{bkr_rk@hoitmail.com}> Date: Tue, 10 Sep 2024 20:44:45 +0530 Subject: [PATCH 06/13] removed text and update echo string --- .github/workflows/first-workflow.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/first-workflow.yml b/.github/workflows/first-workflow.yml index 939b624d..e0f9e780 100644 --- a/.github/workflows/first-workflow.yml +++ b/.github/workflows/first-workflow.yml @@ -17,5 +17,4 @@ jobs: - name: Cowsays uses: mscoutermarsh/cowsays-action@v1 with: - text: "\033[35mReady for prod–ship it!\033[0m" - run: echo $text \ No newline at end of file + run: echo "\033[35mReady for prod–ship it!\033[0m" \ No newline at end of file From c1afe0525f4411f2107c8aaa23fd8f7769266580 Mon Sep 17 00:00:00 2001 From: {ravi kumar bulusu} <{bkr_rk@hoitmail.com}> Date: Tue, 10 Sep 2024 20:49:43 +0530 Subject: [PATCH 07/13] added just text --- .github/workflows/first-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/first-workflow.yml b/.github/workflows/first-workflow.yml index e0f9e780..cb757670 100644 --- a/.github/workflows/first-workflow.yml +++ b/.github/workflows/first-workflow.yml @@ -17,4 +17,4 @@ jobs: - name: Cowsays uses: mscoutermarsh/cowsays-action@v1 with: - run: echo "\033[35mReady for prod–ship it!\033[0m" \ No newline at end of file + text: "\033[35mReady for prod–ship it!\033[0m" \ No newline at end of file From 260708bada9064f1941a6e52d33152d4c5dee6d3 Mon Sep 17 00:00:00 2001 From: {ravi kumar bulusu} <{bkr_rk@hoitmail.com}> Date: Tue, 10 Sep 2024 20:51:27 +0530 Subject: [PATCH 08/13] fixed the color issue --- .github/workflows/first-workflow.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/first-workflow.yml b/.github/workflows/first-workflow.yml index cb757670..b311fff1 100644 --- a/.github/workflows/first-workflow.yml +++ b/.github/workflows/first-workflow.yml @@ -17,4 +17,5 @@ jobs: - name: Cowsays uses: mscoutermarsh/cowsays-action@v1 with: - text: "\033[35mReady for prod–ship it!\033[0m" \ No newline at end of file + text: "Ready for prod–ship it!" + color: "magenta" \ No newline at end of file From 4a2f42a5cb88e1a63962fdbca17687f2dc6e1b51 Mon Sep 17 00:00:00 2001 From: {ravi kumar bulusu} <{bkr_rk@hoitmail.com}> Date: Tue, 10 Sep 2024 20:54:43 +0530 Subject: [PATCH 09/13] changed the job reference --- .github/workflows/first-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/first-workflow.yml b/.github/workflows/first-workflow.yml index b311fff1..d78ad04f 100644 --- a/.github/workflows/first-workflow.yml +++ b/.github/workflows/first-workflow.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Cowsays - uses: mscoutermarsh/cowsays-action@v1 + uses: mscoutermarsh/cowsays-action@master with: text: "Ready for prod–ship it!" color: "magenta" \ No newline at end of file From 13dc57172ab773e6d1c2b7976cd78fe27bb76687 Mon Sep 17 00:00:00 2001 From: {ravi kumar bulusu} <{bkr_rk@hoitmail.com}> Date: Tue, 10 Sep 2024 20:56:40 +0530 Subject: [PATCH 10/13] changed from double quote to single quote --- .github/workflows/first-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/first-workflow.yml b/.github/workflows/first-workflow.yml index d78ad04f..9333614f 100644 --- a/.github/workflows/first-workflow.yml +++ b/.github/workflows/first-workflow.yml @@ -18,4 +18,4 @@ jobs: uses: mscoutermarsh/cowsays-action@master with: text: "Ready for prod–ship it!" - color: "magenta" \ No newline at end of file + color: 'magenta' \ No newline at end of file From 22902c5d3bdbf5094da5fdfa502f9ca75e3ecac7 Mon Sep 17 00:00:00 2001 From: {ravi kumar bulusu} <{bkr_rk@hoitmail.com}> Date: Tue, 10 Sep 2024 20:58:19 +0530 Subject: [PATCH 11/13] job2 needs job1 --- .github/workflows/first-workflow.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/first-workflow.yml b/.github/workflows/first-workflow.yml index 9333614f..3d654023 100644 --- a/.github/workflows/first-workflow.yml +++ b/.github/workflows/first-workflow.yml @@ -13,6 +13,7 @@ jobs: job2: runs-on: ubuntu-latest + needs: job1 steps: - name: Cowsays uses: mscoutermarsh/cowsays-action@master From df551d7840f5b00cf3345f368f3948e0d63f9499 Mon Sep 17 00:00:00 2001 From: {ravi kumar bulusu} <{bkr_rk@hoitmail.com}> Date: Tue, 10 Sep 2024 21:00:06 +0530 Subject: [PATCH 12/13] added trigger issues --- .github/workflows/first-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/first-workflow.yml b/.github/workflows/first-workflow.yml index 3d654023..24cab6e5 100644 --- a/.github/workflows/first-workflow.yml +++ b/.github/workflows/first-workflow.yml @@ -1,6 +1,6 @@ name: First Workflow -on: [push] +on: [push, issues] jobs: job1: From 47eb43a14cd57a0ff2dcf5a58877950e17454b59 Mon Sep 17 00:00:00 2001 From: {ravi kumar bulusu} <{bkr_rk@hoitmail.com}> Date: Wed, 11 Sep 2024 14:53:02 +0530 Subject: [PATCH 13/13] Resolves #7 --- src/Application/src/RazorPagesTestSample/Data/Message.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Application/src/RazorPagesTestSample/Data/Message.cs b/src/Application/src/RazorPagesTestSample/Data/Message.cs index ea99cbd6..290fb2a8 100644 --- a/src/Application/src/RazorPagesTestSample/Data/Message.cs +++ b/src/Application/src/RazorPagesTestSample/Data/Message.cs @@ -9,7 +9,7 @@ public class Message [Required] [DataType(DataType.Text)] - [StringLength(200, ErrorMessage = "There's a 200 character limit on messages. Please shorten your message.")] + [StringLength(250, ErrorMessage = "There's a 200 character limit on messages. Please shorten your message.")] public string Text { get; set; } } #endregion