aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Rohit Goswami <rgoswami@ieee.org>2020-12-27 18:10:17 +0000
committerLibravatar Rohit Goswami <rgoswami@ieee.org>2020-12-27 18:10:17 +0000
commit89f01a52fbe558dc400f1abd8b5e8a5620789619 (patch)
treee35f8737c426f0f5c94bc3a1dd5ffbf7920edb12
parent9e021d4ce1be7b2f1f375fbd8ef09e655181ee93 (diff)
yml: Update to use nix
-rw-r--r--.github/workflows/update.yml16
1 files changed, 7 insertions, 9 deletions
diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml
index 37876bd..0e12492 100644
--- a/.github/workflows/update.yml
+++ b/.github/workflows/update.yml
@@ -1,21 +1,19 @@
-name: Update the repository with the latest base16 colorschemes
+name: Rebuild base16 colorschemes
on:
schedule:
- - cron: "0 0 * * 0" # https://crontab.guru/every-week
+ - cron: "0 0 * * *" # https://crontab.guru/every-day
jobs:
run:
runs-on: ubuntu-latest
steps:
- - name: Set up Poetry
- uses: abatilo/actions-poetry@v1.5.0
+ - name: Get nix
+ uses: cachix/install-nix-action@v12
with:
- python-version: 3.8.0
- poetry_version: 1.0
- args: install
+ nix_path: nixpkgs=channel:nixos-unstable
- name: Fetch the repository code
uses: actions/checkout@v2
- - name: Run make
- run: poetry run make
+ - name: Build
+ run: nix-shell --run "mmake"
- name: Commit the changes, if any
uses: stefanzweifel/git-auto-commit-action@v4.1.1
with: