mirror of
https://github.com/icewind1991/ykoauth-cli.git
synced 2026-06-04 04:24:07 +02:00
ci
This commit is contained in:
parent
9c244f459e
commit
2dca5a341f
4 changed files with 37 additions and 11 deletions
21
.github/workflows/nix.yaml
vendored
Normal file
21
.github/workflows/nix.yaml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: "Build"
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v20
|
||||
- uses: icewind1991/attic-action@v1
|
||||
with:
|
||||
name: ci
|
||||
instance: https://cache.icewind.me
|
||||
authToken: '${{ secrets.ATTIC_TOKEN }}'
|
||||
- run: nix build
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ykoauth-cli
|
||||
path: result/bin/*
|
||||
Loading…
Add table
Add a link
Reference in a new issue