env and runner var testing 05 #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Shell Commands | |
on: [push] | |
jobs: | |
run-shell-command: | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: echo a string | |
run: echo "hello world" | |
- name: MultiLine script | |
run: | | |
node -v | |
npm -v | |
- name: Python Commnd | |
run: | | |
import platform | |
print (platform.processor()) | |
shell: python | |
run-windows-commands: | |
runs-on: windows-latest | |
steps: | |
- name: directory PowerShell | |
run: Get-Location | |
- name: Directory bash | |
run: pwd | |
shell: bash |