Test build Ubuntu snap on Linux amd64 #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test build Ubuntu snap on Linux amd64 | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
# Automatic cron build every 6 months to check if everything still works. | |
schedule: | |
- cron: "0 0 1 1/6 *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: snapcore/action-build@v1 | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: artifact-snap | |
path: "*.snap" | |
compression-level: 0 # no compression. Content is already a zip file | |
if-no-files-found: error |