Skip to content

Commit

Permalink
fix: add ubuntu install script for github action
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverdding committed May 27, 2024
1 parent e79444d commit 1c3e6f4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{ if and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.id "arch") -}}

{{ $packages := list
"bat" -}}

#!/usr/bin/env bash

set -eufo pipefail

{{ range $packages -}}
sudo apt install {{ . }}
{{ end -}}

{{ end -}}
2 changes: 0 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Install bat
run: sudo apt install bat
- name: Install dotfiles
run: sh -c "$(curl -fsLS get.chezmoi.io)" -- init --no-tty --no-pager --keep-going oliverdding --apply --promptDefaults
- name: Check system
Expand Down

0 comments on commit 1c3e6f4

Please sign in to comment.