Skip to content

Commit

Permalink
change workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
pamudu123 committed Sep 9, 2024
1 parent 2f46046 commit 107d13c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/first-github.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: My Github Workflow
on:
push:
branches:
- main

env:
PROJECT_NAME: vote-counter
DEVELOPER_NAME: Pamudu Ranasinghe

jobs:
myexamplejob:
runs-on: ubuntu-latest
steps:
- run: echo "Checkout the repo"
- name: Checkout Repo
uses: actions/checkout@v4
- run: printenv
- run: echo "this is the env ${{ env.PROJECT_NAME }} and ${{ env.DEVELOPER_NAME }} "

4 changes: 2 additions & 2 deletions .github/workflows/vote-counter.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: GitHub Actions Demo
name: Vote Counter
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [push]
on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"cSpell.words": [
"Ranasinghe"
]
}

0 comments on commit 107d13c

Please sign in to comment.