From 54f187eeab5f2174d68c2c79fec1c78481449876 Mon Sep 17 00:00:00 2001 From: Billy Richardson Date: Thu, 22 Jun 2023 03:11:15 -0700 Subject: [PATCH 1/2] Unify release name and app name --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8deede0..d46a556 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: permissions: contents: write env: - APP_NAME: HelloWorld + APP_NAME: hello_world strategy: matrix: target: From 5ce613444d840643cc6b57c8d0d2280bb15cd2ad Mon Sep 17 00:00:00 2001 From: Billy Richardson Date: Thu, 22 Jun 2023 03:25:07 -0700 Subject: [PATCH 2/2] Populate README with more information on template --- README.md | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 167a01f..a0cf2ce 100644 --- a/README.md +++ b/README.md @@ -1 +1,46 @@ -# Your application information +# Rust Application Template + +This is a template project to build a Rust application using GitHub Actions and automatically publish release artifacts for Windows, Linux, and macOS. + +## How to Use + +1. **Create a new repository from this template.** + + On GitHub, click the "Use this template" button to create a new repository based on this template. + +2. **Clone your new repository.** + + Clone your newly created repository to your local machine and navigate to the root directory of the project. + +3. **Run the project locally.** + + You can run the project locally by using the following command in your terminal: + + ```bash + cargo run + ``` + + This command will compile your code and run the resulting executable. + +4. **Commit and push changes.** + + After making changes, commit and push to your repository. GitHub Actions will automatically start the build process. + +## GitHub Actions + +This project uses GitHub Actions for continuous integration. Upon each push to your repository or release creation, the workflow will: + +- Check out the latest code. +- Set up the necessary Rust environment. +- Build and test the project. +- Create release artifacts for Windows, Linux, and macOS. (Only on release creation events) + +The artifacts will then be available for download from the "Actions" tab on your repository and also from the "Releases" tab for release events. + +## Contributing + +Contributions are welcome! Please feel free to submit a Pull Request. + +## License + +This project is licensed under the [MIT License](LICENSE).