Skip to content

Commit

Permalink
Remove requirements.txt from create-artifact yml
Browse files Browse the repository at this point in the history
  • Loading branch information
timothywarner committed Jan 8, 2024
1 parent dbe9729 commit 3ba540e
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/create-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
Expand Down
36 changes: 34 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# GitHub Actions Cert Prep

[![simple_workflow](https://github.com/timothywarner/github_actions/actions/workflows/simple.yml/badge.svg)](https://github.com/timothywarner/github_actions/actions/workflows/simple.yml)
## Contact info

Test.
- [Tim Warner](mailto:[email protected])
- [Website](https://techtrainertim.com)
- [LinkedIn](https://www.linkedin.com/in/timothywarner/)
- [Bluesky](https://bsky.app/profile/techtrainertim.bsky.social)
- [Mastodon](https://mastodon.social/@techtrainertim)

## Visual Studio Code setup

- Visual Studio Code
- GitHub Actions extension
- GitHub Copilot extension
- GitHub Copilot Chat extension
-


## Core references

- TBD




## GitHub Actions training

- TBD




## GitHub Actions ideas

- [Awesome Actions](https://github.com/sdras/awesome-actions)
-
20 changes: 20 additions & 0 deletions self-hosted-runner.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Configure self-hosted (Windows) runner
# Reference: https://timw.info/zpe

# Create a folder under the drive root
mkdir c:\actions-runner ; cd c:\actions-runner

# Download the latest runner package
Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v2.311.0/actions-runner-win-x64-2.311.0.zip -OutFile actions-runner-win-x64-2.311.0.zip

# Optional: Validate the hash
$ if((Get-FileHash -Path actions-runner-win-x64-2.311.0.zip -Algorithm SHA256).Hash.ToUpper() -ne 'e629628ce25c1a7032d845f12dfe3dced630ca13a878b037dde77f5683b039dd'.ToUpper()) { throw 'Computed checksum did not match' }

# Extract the installer
Add-Type -AssemblyName System.IO.Compression.FileSystem ; [System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD/actions-runner-win-x64-2.311.0.zip", "$PWD")

# Create the runner and start the configuration experience
./config.cmd --url https://github.com/timothywarner/actions-cert-prep --token ADAK7RYK5IY4BC5GMVII7KDFTQWIW

# Run it!
./run.cmd

0 comments on commit 3ba540e

Please sign in to comment.