-
Notifications
You must be signed in to change notification settings - Fork 35
43 lines (40 loc) · 1.24 KB
/
build.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
32
33
34
35
36
37
38
39
40
41
42
43
name: Create and publish the config, bin, and script
on:
push:
tags:
- 'v*.*.*'
schedule:
- cron: '0 0 * * 1'
jobs:
build-and-pub:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Update Packages
run: sudo apt update
-
name: install ssl (libssl) and netlink (libnl) dependencies
run: sudo apt install -y libnl-genl-3-dev libssl-dev
-
name: Make wpa_supplicant
run: make -C wpa_supplicant
-
name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: wpa_supplicant_amd64
path: |
wpa_sycophant_example.conf
wpa_sycophant.sh
wpa_supplicant/wpa_supplicant
# -
# name: Create Release
# uses: ncipollo/release-action@v1
# with:
# artifacts: "release.tar.gz,foo/*.txt"
# bodyFile: "body.md"