Skip to content

Update main.yml

Update main.yml #4

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Build Snap
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
BuildSnaps:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
run: sudo snap install snapcraft --classic
-
run: |
cd simple-listener-py
./build-snap-amd64.sh