Skip to content

Commit d1ccb5a

Browse files
willpuckettgithub-actions[bot]
authored andcommitted
fix: change workflow runners from ubuntu-latest to ubuntu-slim for efficiency
1 parent 7119188 commit d1ccb5a

6 files changed

Lines changed: 194 additions & 337 deletions

File tree

.github/workflows/case.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
path: board/output/cases/case.stl
3939

4040
release:
41-
runs-on: ubuntu-latest
41+
runs-on: ubuntu-slim
4242
if: startsWith(github.ref, 'refs/tags/')
4343
permissions:
4444
contents: write

.github/workflows/keymap.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,17 @@ jobs:
2626
ref: ${{ github.head_ref }}
2727
- uses: astral-sh/setup-uv@v3
2828
- run: | # use https://nickcoutsos.github.io/keymap-layout-tools/ to generate info.json
29-
uvx --from git+https://github.com/willpuckett/keymap-drawer keymap \
30-
-c .images/config.yml parse -r rmk/keyboard.toml | \
31-
uvx --from git+https://github.com/willpuckett/keymap-drawer keymap \
32-
draw -j .images/info.json - > .images/keymap.svg
29+
prurl=git+https://github.com/caksoylar/keymap-drawer@pull/187/head
30+
uvx --from $prurl keymap -c .images/config.yml parse -r rmk/keyboard.toml | \
31+
uvx --from $prurl keymap draw -j .images/info.json - > .images/keymap.svg
3332
- uses: actions/upload-artifact@v4
3433
with:
3534
name: keymaps
3635
path: ".images/keymap.svg"
3736
include-hidden-files: true
3837

3938
push-or-release:
40-
runs-on: ubuntu-latest
39+
runs-on: ubuntu-slim
4140
needs: draw-keymaps
4241
permissions:
4342
contents: write # allow workflow to commit to the repository and create releases

.github/workflows/kibot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
path: board/output/pcbs/jlcpcb.zip
4444

4545
release:
46-
runs-on: ubuntu-latest
46+
runs-on: ubuntu-slim
4747
if: startsWith(github.ref, 'refs/tags/')
4848
permissions:
4949
contents: write

.github/workflows/rmk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
path: rmk/*.uf2
3939

4040
release:
41-
runs-on: ubuntu-latest
41+
runs-on: ubuntu-slim
4242
if: startsWith(github.ref, 'refs/tags/')
4343
permissions:
4444
contents: write

0 commit comments

Comments
 (0)