diff --git a/.github/workflows/deb-build.yml b/.github/workflows/deb-build.yml index b648b43..ec77c45 100644 --- a/.github/workflows/deb-build.yml +++ b/.github/workflows/deb-build.yml @@ -3,11 +3,11 @@ on: push: branches: - main + tags: + - '[0-9]+.[0-9]+.[0-9]+**' pull_request: branches: - main - release: - types: [create] jobs: test: name: Code tests @@ -59,13 +59,13 @@ jobs: name: Release the artifacts runs-on: ubuntu-latest needs: build - if: github.event.release steps: - name: Test the output run: | echo ${{needs.build.outputs.version}} echo ${{needs.build.outputs.filename}} - echo 'github ref: ${{ github.ref }}' + echo 'github.ref: ${{ github.ref }}' + echo 'github.event_name: ${{ github.event_name }}' release2: name: Release the package