Create and publish the config, bin, and script #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |