|
52 | 52 | - '${{ env.features_dir }}/**' |
53 | 53 | - '${{ env.workflow_path }}' |
54 | 54 |
|
55 | | - - if: steps.changes.outputs.src == 'true' || startsWith(github.ref, 'refs/tags/v') |
| 55 | + - if: ${{steps.changes.outputs.src == 'true' || startsWith(github.ref, 'refs/tags/v')}} |
56 | 56 | name: "Publish Features" |
57 | 57 | uses: devcontainers/action@v1 |
58 | 58 | with: |
|
64 | 64 |
|
65 | 65 | check-if-changed: |
66 | 66 | needs: deploy-nhs-notify-feature |
67 | | - if: needs.deploy-nhs-notify-feature.result == 'success' || needs.deploy-nhs-notify-feature.result == 'skipped' |
| 67 | + if: ${{!cancelled() && (needs.deploy-nhs-notify-feature.result == 'success' || needs.deploy-nhs-notify-feature.result == 'skipped')}} |
68 | 68 | permissions: |
69 | 69 | contents: read |
70 | 70 | runs-on: ubuntu-latest |
|
81 | 81 | - '${{ env.workflow_path }}' |
82 | 82 |
|
83 | 83 | build-and-push-image: |
84 | | - if: needs.check-if-changed.outputs.src == 'true' |
| 84 | + if: ${{ needs.check-if-changed.outputs.src == 'true' }} |
85 | 85 | needs: check-if-changed |
86 | 86 | runs-on: ubuntu-latest |
87 | 87 | strategy: |
@@ -120,14 +120,14 @@ jobs: |
120 | 120 | with: |
121 | 121 | node-version: ${{ env.node_version }} |
122 | 122 |
|
123 | | - - if: (!startsWith(github.ref, 'refs/tags/v')) |
| 123 | + - if: ${{(!startsWith(github.ref, 'refs/tags/v'))}} |
124 | 124 | name: Build default |
125 | 125 | working-directory: ${{env.base_dir}}/${{ matrix.container_name }} |
126 | 126 | run: | |
127 | 127 | BRANCH=${{ github.ref_name }} |
128 | 128 | make build BASE_IMAGE_TAG=$BRANCH IMAGE_NAME=${{ env.registry }}/${{ env.image_prefix }}${{ matrix.container_name }} WORKSPACE_FOLDER=${{ env.workspace_folder }} |
129 | 129 |
|
130 | | - - if: startsWith(github.ref, 'refs/tags/v') |
| 130 | + - if: ${{startsWith(github.ref, 'refs/tags/v')}} |
131 | 131 | name: Build lock base image tags to same version |
132 | 132 | working-directory: ${{env.base_dir}}/${{ matrix.container_name }} |
133 | 133 | run: | |
|
0 commit comments