Fix shutdown behaviour (#10) #8
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: Publish | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
tests: | |
uses: ./.github/workflows/tests.yaml | |
integration-tests: | |
uses: ./.github/workflows/integration-tests.yaml | |
publish: | |
name: Publish Aproxy | |
runs-on: ubuntu-latest | |
needs: [ tests, integration-tests ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build Aproxy Snap | |
id: snapcraft-build | |
uses: snapcore/action-build@v1 | |
- name: Upload Aproxy Snap | |
uses: actions/upload-artifact@v3 | |
with: | |
name: snap | |
path: aproxy*.snap | |
- name: Publish Aproxy | |
env: | |
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }} | |
run: | | |
for snap in aproxy*.snap | |
do | |
snapcraft upload $snap --release edge | |
done |