fix(sysvinit): restart a service by using stop then start due to a bug seen in mosquitto sysvinit definition #46
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 | |
permissions: | |
contents: write | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
release: | |
name: Package and release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: extractions/setup-just@v1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '>=1.20.0' | |
- run: go install github.com/goreleaser/nfpm/v2/cmd/nfpm@latest | |
name: Install dependencies | |
- name: Package | |
run: just build |