ci #25
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| env: | |
| project-id: codes.merritt.FeelingFinder | |
| jobs: | |
| linux: | |
| name: Linux | |
| runs-on: ubuntu-22.04 | |
| env: | |
| SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install snapcraft | |
| run: | | |
| sudo snap install snapcraft --classic | |
| - run: hash -r | |
| - name: Setup LXD | |
| uses: canonical/setup-lxd@v0.1.1 | |
| with: | |
| channel: latest/stable | |
| - name: run snapcraft | |
| run: | | |
| snapcraft --use-lxd | |
| - run: ls -a | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: onvif_4.2.0_amd64.snap | |
| path: ./onvif_4.2.0_amd64.snap |