From 8ab7896596da36aef7c9dc13098f2c22a0a330a9 Mon Sep 17 00:00:00 2001 From: jemand771 Date: Sun, 22 Aug 2021 00:33:40 +0200 Subject: [PATCH] replace - with _ in actions env variable names not sure if this was what's breaking the workflow --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a1bd6c4..0c7cc5f6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,14 +8,14 @@ on: - "**.md" env: - is-stable: | + is_stable: | github.event_name == 'push' && github.ref == 'refs/heads/stable' - is-unstable: | + is_unstable: | github.event_name == 'push' && github.ref == 'refs/heads/unstable' # this is an alias for is-stable || is-unstable - is-release: | + is_release: | github.event_name == 'push' && (github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/unstable') @@ -478,7 +478,7 @@ jobs: # TODO i got lazy here docker-release: - if: ${{ env.is-release }} + if: ${{ env.is_release }} needs: [build, test-postman-sqlite, test-postman-mysql, test-postman-postgres] runs-on: ubuntu-latest