Skip to content

feat: Add name to jobs running in actions #8

feat: Add name to jobs running in actions

feat: Add name to jobs running in actions #8

Workflow file for this run

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
- name: Checkout code
uses: actions/checkout@v4
# Build the snap
- name: Build snap
uses: snapcore/action-build@v1
id: build
# Upload the built artifact
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ steps.build.outputs.snap }}
path: ${{ steps.build.outputs.snap }}