Skip to content

Commit

Permalink
Tip 226
Browse files Browse the repository at this point in the history
  • Loading branch information
bizz84 committed Feb 6, 2025
1 parent e6a7b99 commit 63ec0e4
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ This repo now has a companion app! [Download it here](https://fluttertips.dev/)
| ID | View on GitHub (this repo) | X Post | LinkedIn Post | Bluesky Post | Link on [codewithandrea.com](https://codewithandrea.com/) |
| -- |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| ------ | ------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| 226 | [GitHub Self-Hosted Runners](tips/0226-github-self-hosted-runners/index.md) | [link](https://x.com/biz84/status/1887441742028214765) | [link](https://www.linkedin.com/posts/andreabizzotto_did-you-know-if-youre-using-github-actions-activity-7293207844273684480-yjhQ) | [link](https://bsky.app/profile/codewithandrea.com/post/3lhitlc5lqs2m) | |
| 225 | [The debugFillProperties Method](tips/0225-debug-fill-properties/index.md) | [link](https://x.com/biz84/status/1882486196133404933) | [link](https://www.linkedin.com/posts/andreabizzotto_did-you-know-if-you-add-a-debugfillproperties-activity-7288252423486234624-KdP-) | [link](https://bsky.app/profile/codewithandrea.com/post/3lggh4vqfas2r) | |
| 224 | [Uploading the Source Maps to Sentry](tips/0224-upload-source-maps-sentry/index.md) | [link](https://x.com/biz84/status/1879922615026151473) | [link](https://www.linkedin.com/posts/andreabizzotto_did-you-know-if-your-codemagic-builds-are-activity-7285688423271530496-XY0x) | [link](https://bsky.app/profile/codewithandrea.com/post/3lfunvdmhjc2w) | |
| 223 | [SSH Access on Codemagic Builds](tips/0223-ssh-access-codemagic/index.md) | [link](https://x.com/biz84/status/1879922615026151473) | [link](https://www.linkedin.com/posts/andreabizzotto_did-you-know-if-your-codemagic-builds-are-activity-7285688423271530496-XY0x) | [link](https://bsky.app/profile/codewithandrea.com/post/3lfunvdmhjc2w) | |
Expand Down
2 changes: 1 addition & 1 deletion tips/0224-upload-source-maps-sentry/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ If you enable code obfuscation in your Flutter release builds, the stack traces

To fix this:
- Generate the source maps with `--split-debug-info`
- Use [sentry_dart_plugin](https://pub.dev/packages/sentry_dart_plugin) package to upload them
- Use the [sentry_dart_plugin](https://pub.dev/packages/sentry_dart_plugin) package to upload them
- Automate the process with CI/CD (recommended)

![](224.png)
Expand Down
2 changes: 1 addition & 1 deletion tips/0225-debug-fill-properties/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ To learn more about all the supported property types and variants, read the offi

| Previous | Next |
| -------- | ---- |
| [Uploading the Source Maps to Sentry](../0224-upload-source-maps-sentry/index.md) | |
| [Uploading the Source Maps to Sentry](../0224-upload-source-maps-sentry/index.md) | [GitHub Self-Hosted Runners](../0226-github-self-hosted-runners/index.md) |

<!-- TWITTER|https://x.com/biz84/status/1882486196133404933 -->
<!-- LINKEDIN|https://www.linkedin.com/posts/andreabizzotto_did-you-know-if-you-add-a-debugfillproperties-activity-7288252423486234624-KdP- -->
Expand Down
Binary file added tips/0226-github-self-hosted-runners/226.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions tips/0226-github-self-hosted-runners/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# GitHub Self-Hosted Runners

Did you know?

If you're using GitHub Actions for your CI/CD needs, you can setup a self-hosted runner to cut your build times and save money. 🎯

This is very easy to setup, and if you have an organization account, you can share one or more runners across all your repos. 👍

![](226.png)

<!--
GitHub Self-Hosted Runners
Advantages:
- Reduce build times
- Save money
- Easier debugging (can inspect local build files)
To setup:
1. Create a runner
2. Follow the instructions to install on your local machine or VPS
3. Update your workflow to run on "self-hosted"
4. Run your builds
Notes:
- If you have a personal account, you need to create a self-hosted runner for each repository
- If you have a GitHub organization, create a self-hosted runner at the organization level ✅
-->

---

My latest course includes a whole module about GitHub Actions, showing how to make your pipelines faster, more reliable, and easier to manage.

A complete workflow for Android & iOS is also included as a reference.

To learn more, check the module intro:

- [Introduction to GitHub Actions](https://pro.codewithandrea.com/flutter-in-production/12-github-actions/01-intro)

---

| Previous | Next |
| -------- | ---- |
| [The debugFillProperties Method](../0225-debug-fill-properties/index.md) | |

<!-- TWITTER|https://x.com/biz84/status/1887441742028214765 -->
<!-- LINKEDIN|https://www.linkedin.com/posts/andreabizzotto_did-you-know-if-youre-using-github-actions-activity-7293207844273684480-yjhQ -->
<!-- BLUESKY|https://bsky.app/profile/codewithandrea.com/post/3lhitlc5lqs2m -->

0 comments on commit 63ec0e4

Please sign in to comment.