From 6f4637db0832872628212dab26492308f16bf95e Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Mon, 7 Sep 2020 15:11:06 +0200 Subject: [PATCH] Fix actions to run only when needed --- .github/workflows/release.yaml | 3 ++- .github/workflows/unittests.yaml | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bdb1732..c5d83ae 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,7 +21,8 @@ jobs: python-version: ${{ matrix.python }} - name: Install tox run: pip install tox - - name: Build release with tox + - name: Create release with tox + id: create_release run: tox -e release - name: Upload Release Asset id: upload-release-asset diff --git a/.github/workflows/unittests.yaml b/.github/workflows/unittests.yaml index 466a131..f781e9a 100644 --- a/.github/workflows/unittests.yaml +++ b/.github/workflows/unittests.yaml @@ -1,6 +1,9 @@ name: unittests -on: [push] +on: + push: + tags-ignore: + - '*.*' jobs: build: