diff options
author | Harel Ben-Attia <harelba@gmail.com> | 2022-01-22 16:40:03 +0200 |
---|---|---|
committer | Harel Ben-Attia <harelba@gmail.com> | 2022-01-22 16:40:11 +0200 |
commit | 2c9ba02159ce039b2612d407d7020d1c1db3227c (patch) | |
tree | 476cf5b58e5057f1121955c7b8bc3aaf3bc937f1 | |
parent | 877005570fe482fb4ed423d4fac986eed8659d27 (diff) |
github action stuff
-rw-r--r-- | .github/workflows/build-and-package.yaml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/build-and-package.yaml b/.github/workflows/build-and-package.yaml index e7c223d..715236c 100644 --- a/.github/workflows/build-and-package.yaml +++ b/.github/workflows/build-and-package.yaml @@ -484,12 +484,20 @@ jobs: $process.ExitCode exit $process.ExitCode + test_is_release: + needs: version_info + runs-on: ubuntu-latest + steps: + - name: test1 + run: | + echo ${{ toJson(needs.version_info) }} + perform-prerelease: # We'd like artifacts to be uploaded regardless of tests succeeded or not, # this is why the dependency here is not on test-X-packaging jobs needs: [package-linux-deb, package-linux-rpm, not-package-mac, package-windows, version_info] runs-on: ubuntu-latest - if: ${{ needs.version_info.outputs.is_release == 'false' }} + if: needs.version_info.outputs.is_release == 'false' steps: - name: Download All Artifacts uses: actions/download-artifact@v2 @@ -513,7 +521,7 @@ jobs: perform-release: needs: [not-test-mac-packaging, test-deb-packaging, test-rpm-packaging, test-windows-packaging, version_info] runs-on: ubuntu-latest - if: ${{ needs.version_info.outputs.is_release == 'true' }} + if: needs.version_info.outputs.is_release == 'true' steps: - name: Download All Artifacts uses: actions/download-artifact@v2 |