diff --git a/.github/workflows/sample-3.yaml b/.github/workflows/sample-3.yaml new file mode 100644 index 0000000..b45cd0c --- /dev/null +++ b/.github/workflows/sample-3.yaml @@ -0,0 +1,17 @@ +name: List_Repository_Flow +on: + push: + branches: [develop] + workflow_dispatch: +jobs: + list_repository_job: + runs-on: ubuntu-latest + steps: + - name: Using Checkout Repository + uses: actions/checkout@v4 + - name: List Repository Sep 1 + run: echo "Listing repository contents..." + - name: List Repository Sep 2 + run: ls -la + - name: List Repository Sep 3 + run: echo "Repository listing complete!" \ No newline at end of file diff --git a/.github/workflows/sample-4.yaml b/.github/workflows/sample-4.yaml new file mode 100644 index 0000000..a0dc238 --- /dev/null +++ b/.github/workflows/sample-4.yaml @@ -0,0 +1,15 @@ +name: List_Variable_Flow +on: + workflow_dispatch: +jobs: + list_variable_job: + runs-on: ubuntu-latest + env: + MY_VARIABLE: "Hello, World!" + steps: + - name: Print Variable Sep 1 + run: echo "The value of MY_VARIABLE is $MY_VARIABLE" + - name: Print Variable Sep 2 + run: echo "The value of SECRET is ${{secrets.MY_TOKEN_SECRET}}" + - name: Print Variable Sep 3 + run: echo "Variable printing complete!" \ No newline at end of file