Skip to content

Commit

Permalink
add: github workflow automated build (canonical#28)
Browse files Browse the repository at this point in the history
Signed-off-by: Lincoln Wallace <[email protected]>
  • Loading branch information
locnnil authored Dec 5, 2023
1 parent 33cc5bf commit 553333e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-snap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Snap Builder

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allow manual trigger
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:

# Checkout the code
- uses: actions/checkout@v4

# Build the snap
- uses: snapcore/action-build@v1
id: build

# Upload the built artifact
- uses: actions/upload-artifact@v3
with:
name: ${{ steps.build.outputs.snap }}
path: ${{ steps.build.outputs.snap }}

0 comments on commit 553333e

Please sign in to comment.