mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-05 19:05:33 +01:00
Replace just
with run
This commit is contained in:
parent
bfe0117e5e
commit
75bbef2dc9
5 changed files with 96 additions and 107 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
@ -1,5 +1,4 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
@ -9,24 +8,9 @@ on:
|
|||
schedule:
|
||||
- cron: "0 12 15 * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||
|
||||
- uses: cachix/install-nix-action@6ed004b9ccb68dbc28e7c85bee15fa93dbd214ac # v22
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-23.05
|
||||
|
||||
- run: nix develop --command just ci-test
|
||||
- run: nix develop --command just build
|
||||
|
||||
- run: |
|
||||
echo "DATE=$(date '+%Y-%m-%d-%H.%M.%S')" >> $GITHUB_ENV
|
||||
|
||||
- uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # v1.13.0
|
||||
with:
|
||||
artifacts: dist/build-configs
|
||||
tag: ${{ env.DATE }}
|
||||
- run: ./run ci:test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue