Skip to content

Commit

Permalink
Updated syntax of yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Manish007-eng committed Sep 3, 2024
1 parent 1b42bf9 commit b454fef
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions .github/workflows/cool-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,22 @@ on:
push:
branches:
- main
pull_request:
branches:
-main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: "18"
-name: Pretend to build
run: echo Pretending to build some kind of app...
-name: Push artifact foo.txt
uses: actions/upload-artifact@v3
with:
name: my-artifact
path: foo.txt
- name: Pretend to build
run: echo Pretending to build some kind of app...
- name: Push artifact foo.txt
uses: actions/upload-artifact@v3
with:
name: my-artifact
path: foo.txt

0 comments on commit b454fef

Please sign in to comment.