Skip to content

added workflow for building and uploading mdns binaries for linux #1

added workflow for building and uploading mdns binaries for linux

added workflow for building and uploading mdns binaries for linux #1

name: Upload pre-built binaries
on: workflow_dispatch
linux:

Check failure on line 4 in .github/workflows/upload_binaries.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/upload_binaries.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
runs-on: ubuntu-latest
name: Build and Upload mdns binding
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.6.1'
- name: Install MDNS tools
run: |
sudo apt-get update
sudo apt-get -y install libavahi-compat-libdnssd-dev
- name: Build and upload
env:
AWS_ACCESS_KEY_ID: ${{ secrets.NODE_PRE_GYP_AWS_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.NODE_PRE_GYP_AWS_KEY }}
run: sh ./utils/build.sh