Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noah-de/junk-actions-test
https://github.com/noah-de/junk-actions-test
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/noah-de/junk-actions-test
- Owner: noah-de
- Created: 2022-06-04T02:10:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T08:56:54.000Z (17 days ago)
- Last Synced: 2024-10-29T10:05:03.706Z (17 days ago)
- Language: Python
- Size: 820 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Useful links
- [Composite action](https://docs.github.com/en/actions/creating-actions/creating-a-composite-action)
- [Defined output](https://docs.github.com/en/actions/using-jobs/defining-outputs-for-jobs)------
------
# Exercise Files for Learning GitHub ActionsThe exercise files are located in folders named to match the chapter and lesson they accompany.
- *PREREQUSITES: You'll need to have the `git` command line tool installed for your system and access to a terminal program like [GitBash](https://gitforwindows.org/) on Windows or [iTerm2](https://www.iterm2.com/) on macOS. The default terminal program for your system will work as well as long as the git program is in your PATH.*
## Using Exercise Files with Repositories
Follow these steps if you want to use the exercise files the same way they are used within the course.
We'll use the exercise files from Chapter 1, Lesson 1 for this example.
- Create a repository on GitHub using the [New Repository](https://github.com/new) page. Name it something that relates to the lesson like `ch01-01-01`.
- Download the exercise files and unzip the archive. If you are reading this, you have most likely completed this step! :D
- Open a terminal window and change directories to the location where you unzipped archive. "CD" into the directory with the lesson you want to work with; for this example, we'll use Ch01/01_01.
cd Ch01/01_01
- Run the following commands to initialize the directory as a git repository.
git init
git add .
git commit -m 'first check in'- Now add the new repository you created as a remote for the local repo.
git remote add origin [email protected]:YOUR_GITHUB_USER_NAME_HERE/ch01-01-01.git
- After the remote is added, push the files to the remote.
git push -u origin master
- Browse to the repository on GitHub.com and reload the page to confirm the files have been properly pushed.
Once the files are hosted on GitHub.com, you're ready to start making changes locally and pushing them to the remote repo.