Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development #26

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/ghactions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Actions Workflow

on: [push, pull_request]

jobs:
run-github-actions:
runs-on: ubuntu-latest
steps:
- name: List Files
run: |
pwd
ls -a
- name: Checkout Repo
uses: actions/checkout@v1
- name: List Files After
run: |
pwd
ls -a
- name: Simple JS Action
id: greet
uses: actions/hello-world-javascript-action@v1
with:
who-to-greet: John
- name: Log Greeting Time
run: echo "${{ steps.greet.outputs.time }}"
14 changes: 0 additions & 14 deletions .github/workflows/simple.yml

This file was deleted.

1 change: 1 addition & 0 deletions test.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
{age: 28, name: Ali}

29 changes: 29 additions & 0 deletions workflowtmp/simple.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Shell Commands

on: [push]

jobs:
run-shell-command:
runs-on: ubuntu-latest
steps:
- name: echo a string
run: echo "Hello World"
- name: multiline script
run: |
node -v
npm -v
- name: python command
run: |
import platform
print(platform.processor())
shell: python
run-windows-commands:
runs-on: windows-latest
needs: [run-shell-command]
steps:
- name: Directory PowerShell
run: Get-Location
- name: Directory Bash
run: pwd
shell: bash