kitgit

tirbofish/dropbear · commit

edfad19f401429d9e6ae2276f4014161134c5162

push on tag to not drain my gh actions and update readme to include nightly link

Unverified

tk <4tkbytes@pm.me> · 2025-07-29 05:25

view full diff

diff --git a/.github/workflows/create_executable.yaml b/.github/workflows/create_executable.yaml
index ca2c678..8187679 100644
--- a/.github/workflows/create_executable.yaml
+++ b/.github/workflows/create_executable.yaml
@@ -2,7 +2,9 @@
 name: Build Executables
 
 on:
-  push: {}
+  push:
+    tags:
+      - '*'
   pull_request: {}
 
 jobs:
@@ -57,18 +59,26 @@ jobs:
       - name: Build eucalyptus
         run: cargo build --release --package eucalyptus --target ${{ matrix.target }}
 
-      - name: Download and extract russimp dynamic lib
+
+      - name: Download and extract russimp dynamic lib (Windows/Linux)
+        if: matrix.os != 'macos-latest' && matrix.russimp_url != ''
         run: |
           curl -L -o russimp.tar.gz ${{ matrix.russimp_url }}
           tar -xzf russimp.tar.gz
-        if: ${{ matrix.russimp_url != '' }}
+
+      - name: Download README.md from gist (macOS)
+        if: matrix.os == 'macos-latest'
+        run: |
+          curl -L -o README.md https://gist.github.com/4tkbytes/05576d43fa12e7e2331dd7eb4e606bca/raw/README.md
 
       - name: Prepare artifact
         run: |
           mkdir dist
           cp target/${{ matrix.target }}/release/redback${{ matrix.ext }} dist/
           cp target/${{ matrix.target }}/release/eucalyptus${{ matrix.ext }} dist/
-          if [ "${{ matrix.russimp_file }}" != "" ]; then
+          if [ "${{ matrix.os }}" = "macos-latest" ]; then
+            cp README.md dist/
+          elif [ "${{ matrix.russimp_file }}" != "" ]; then
             find . -name "${{ matrix.russimp_file }}" -exec cp {} dist/ \;
           fi
         shell: bash
diff --git a/README.md b/README.md
index b5e1a24..5fcbb4a 100644
--- a/README.md
+++ b/README.md
@@ -6,18 +6,23 @@ If you might have not realised, all the crates/projects names are after Australi
 
 ## Related projects
 
- - [eucalyptus](https://github.com/4tkbytes/dropbear/tree/main/eucalyptus) is the visual editor used to create games visually, taking inspiration from Unity and other engines.
- - [redback](https://github.com/4tkbytes/dropbear/tree/main/redback) is the build system used by [eucalyptus](https://github.com/4tkbytes/dropbear/tree/main/eucalyptus) to bind, build and ship games made with the engine.
-
- ## Build
-
- To build, clone the repository, then build it. It will build in debug mode, and use a lot of packages, so if your CPU is not fast enough for building you should brew a cup of coffee during the build time.
- ```bash
- git clone git@github.com:4tkbytes/dropbear
- cd dropbear
- # this will build all the projects in the workspace, including eucalyptus and redback.
- cargo build
- ```
+- [eucalyptus](https://github.com/4tkbytes/dropbear/tree/main/eucalyptus) is the visual editor used to create games visually, taking inspiration from Unity and other engines.
+- [redback](https://github.com/4tkbytes/dropbear/tree/main/redback) is the build system used by [eucalyptus](https://github.com/4tkbytes/dropbear/tree/main/eucalyptus) to bind, build and ship games made with the engine.
+
+## Build
+
+To build, clone the repository, then build it. It will build in debug mode, and use a lot of packages, so if your CPU is not fast enough for building you should brew a cup of coffee during the build time.
+
+```bash
+git clone git@github.com:4tkbytes/dropbear
+cd dropbear
+# this will build all the projects in the workspace, including eucalyptus and redback.
+cargo build
+```
+
+If you do not want to build it locally, you are able to download the latest action build (if no releases have been made).
+
+[nightly.link](https://nightly.link/4tkbytes/dropbear/workflows/create_executable.yaml/main?preview)
 
 ## Usage