Skip to content

Commit

Permalink
hello runner
Browse files Browse the repository at this point in the history
  • Loading branch information
MaykGyver committed Apr 17, 2024
1 parent 98b3bc1 commit 4892bb3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/learn-github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,8 @@ jobs:
- runner: 'windows-2022'
runs-on: ${{ matrix.runner }}
steps:
# - run: env
# - uses: actions/checkout@v4
- run: systeminfo > systeminfo.txt
- run: get-localuser > localuser.txt
- run: whoami > whoami.txt
- run: Get-Location > whereami.txt
# - run: tree C:\ /A > tree_c.txt
- run: tree ${env:ProgramFiles}\OpenSSL /F /A > tree_openssl.txt
- run: tree ${env:ProgramFiles(x86)}\OpenSSL /F /A > tree_openssl_32.txt
- run: tree D:\ /A > tree_d.txt
- uses: actions/checkout@v4
- run: script.ps1
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.runner }}
Expand Down
8 changes: 8 additions & 0 deletions script.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Get-ChildItem env: > env.txt
systeminfo > systeminfo.txt
get-localuser > localuser.txt
whoami > whoami.txt
Get-Location > whereami.txt
# tree C:\ /A > tree_c.txt
# tree ${env:ProgramFiles}\OpenSSL /F /A > tree_openssl.txt
tree D:\ /A > tree_d.txt

0 comments on commit 4892bb3

Please sign in to comment.