diff --git a/.github/workflows/publish-dev.yml b/.github/workflows/publish-dev.yml index d8383a9..ea0323d 100644 --- a/.github/workflows/publish-dev.yml +++ b/.github/workflows/publish-dev.yml @@ -6,7 +6,7 @@ on: jobs: test: - if: github.event.release.prereleased == true + if: "github.event.release.prerelease" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -19,7 +19,7 @@ jobs: npm run test build-publish: - if: github.event.release.prereleased == true + if: "github.event.release.prerelease" needs: test runs-on: ubuntu-latest steps: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c9f10d6..5639f96 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,7 +6,7 @@ on: jobs: test: - if: github.event.release.prereleased == false + if: "!github.event.release.prerelease" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -19,7 +19,7 @@ jobs: npm run test build-publish: - if: github.event.release.prereleased == false + if: "!github.event.release.prerelease" needs: test runs-on: ubuntu-latest steps: