forked from alxhlz/hcloud-failover-keepalived
-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (29 loc) · 945 Bytes
/
deb.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Build pex & deb
on: push
jobs:
refresh:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# pulls all commits (needed for lerna / semantic release to correctly version)
fetch-depth: "0"
# pulls all tags (needed for lerna / semantic release to correctly version)
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
- run: nix-channel --update
- run: ./pex.sh
- run: ./deb.sh
- name: Store pex
uses: actions/upload-artifact@v3
with:
name: pex
path: robot_failover.pex
- name: Store deb
uses: actions/upload-artifact@v3
with:
name: deb
path: robot_failover.deb