Skip to content

Improve reading of legacy mask files and allow mask comments starting… #105

Improve reading of legacy mask files and allow mask comments starting…

Improve reading of legacy mask files and allow mask comments starting… #105

Workflow file for this run

name: Build and Publish Snap
on:
push:
tags:
- '*'
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Fetch tags
run: git fetch --force --tags
- name: Build snap
uses: snapcore/action-build@v1
id: build
- name: Upload snap artifact
uses: actions/upload-artifact@v7
with:
name: snap
path: ${{ steps.build.outputs.snap }}
- name: Publish to Snapcraft Store
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'
uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
with:
snap: ${{ steps.build.outputs.snap }}
release: stable