Skip to content

Commit

Permalink
second art first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MeenalJy authored Apr 27, 2024
1 parent d21bdff commit 073b301
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/second-art.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: My First ASCII Artwork

on:
push

jobs:
build_job_1:
runs-on: ubuntu-latest
steps:
- name: Install Cowsay Program
run: sudo apt-get install cowsay -y

- name: Execute Cowsay CMD
run: cowsay -f tweety-bird "Hello Musu, I'm tweety-bird" >> tweety-bird.txt

- name: Upload tweety-bird text file
uses: actions/upload-artifact@v3
with:
name: tweety-bird-text-file
path: tweety-bird.txt

test_job_2:
needs: build_job_1
runs-on: ubuntu-latest
steps:
- name: Download tweety-bird text file
uses: actions/download-artifact@v3
with:
name: tweety-bird-text-file

- name: Test File Exists
run: grep -i "tweety-bird" tweety-bird.txt

deploy_job_3:
needs: [test_job_2]
runs-on: ubuntu-latest
steps:
- name: Download tweety-bird text file
uses: actions/download-artifact@v3
with:
name: tweety-bird-text-file

- name: Read File
run: cat tweety-bird.txt

- name: Deploy
run: echo Deploying ... .. .

0 comments on commit 073b301

Please sign in to comment.