mirror of
https://github.com/aristocratos/btop.git
synced 2024-11-10 21:36:45 +01:00
43 lines
865 B
YAML
43 lines
865 B
YAML
name: 🧪 Test snap can be built on x86_64
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [ main ]
|
|
tags-ignore:
|
|
- '*.*'
|
|
paths:
|
|
- 'src/**'
|
|
- '!src/osx/**'
|
|
- '!src/freebsd/**'
|
|
- 'include/**'
|
|
- 'Makefile'
|
|
- '.github/workflows/test-snap-can-build.yml'
|
|
pull_request:
|
|
branches: [ main ]
|
|
paths:
|
|
- 'src/**'
|
|
- '!src/osx/**'
|
|
- '!src/freebsd/**'
|
|
- 'include/**'
|
|
- 'Makefile'
|
|
- '.github/workflows/test-snap-can-build.yml'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [16.x]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: snapcore/action-build@v1
|
|
id: build
|
|
|
|
- uses: diddlesnaps/snapcraft-review-action@v1
|
|
with:
|
|
snap: ${{ steps.build.outputs.snap }}
|
|
isClassic: 'false'
|