You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
neovide/.github/workflows/snap.yaml

33 lines
667 B
YAML

name: Snap
on:
push:
branches: [main]
paths-ignore:
- 'website/**'
- '.vscode/**'
- '**.md'
jobs:
snap:
runs-on: ubuntu-20.04
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- uses: snapcore/action-build@v1
env:
SNAPCRAFT_BUILD_ENVIRONMENT_MEMORY: 6G
id: snapcraft
- uses: actions/upload-artifact@v2
with:
name: snap
path: ${{ steps.snapcraft.outputs.snap }}
- uses: snapcore/action-publish@v1
with:
store_login: ${{ secrets.SNAPCRAFT_EDGE_TOKEN }}
snap: ${{ steps.snapcraft.outputs.snap }}