Skip to content

Commit

Permalink
added snap install test
Browse files Browse the repository at this point in the history
  • Loading branch information
infinityofspace committed Aug 23, 2022
1 parent e443ee4 commit 23dd448
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/snap_install_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: snap install test

on:
push:
pull_request:

jobs:
test-snap-install:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: build snap
uses: snapcore/action-build@v1

- uses: actions/upload-artifact@v3
with:
name: snap
path: ${{ steps.snapcraft.outputs.snap }}

- name: install certbot
run: sudo snap install certbot

- name: install snap build and connect plugin snap to certbot
run: |
sudo snap install ${{ steps.snapcraft.outputs.snap }}
sudo snap connect certbot:plugin certbot-dns-duckdns
- name: check if plugin is registered
run: certbot plugins | grep -c "certbot_dns_duckdns" || true

0 comments on commit 23dd448

Please sign in to comment.