Skip to content

Commit 73144c5

Browse files
committed
Remove unecessary if: success() from Github release workflow
1 parent e3b8aa4 commit 73144c5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.github/workflows/releases.yml

-7
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,14 @@ jobs:
3737
npm run testnodeconsumer
3838
3939
- name: Production Build
40-
if: success()
4140
run: npx grunt prod
4241

4342
- name: UI Tests
44-
if: success()
4543
run: |
4644
sudo apt-get install xvfb
4745
xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
4846
4947
- name: Image Metadata
50-
if: success()
5148
id: image-metadata
5249
uses: docker/metadata-action@v4
5350
with:
@@ -58,7 +55,6 @@ jobs:
5855
type=semver,pattern={{version}}
5956
6057
- name: Production Image Build
61-
if: success()
6258
id: build-image
6359
uses: redhat-actions/buildah-build@v2
6460
with:
@@ -74,7 +70,6 @@ jobs:
7470
7571
7672
- name: Upload Release Assets
77-
if: success()
7873
id: upload-release-assets
7974
uses: svenstaro/upload-release-action@v2
8075
with:
@@ -86,13 +81,11 @@ jobs:
8681
body: "See the [CHANGELOG](https://github.com/gchq/CyberChef/blob/master/CHANGELOG.md) and [commit messages](https://github.com/gchq/CyberChef/commits/master) for details."
8782

8883
- name: Publish to NPM
89-
if: success()
9084
uses: JS-DevTools/npm-publish@v1
9185
with:
9286
token: ${{ secrets.NPM_TOKEN }}
9387

9488
- name: Publish to GHCR
95-
if: success()
9689
uses: redhat-actions/push-to-registry@v2
9790
with:
9891
image: ${{ steps.build-image.outputs.image }}

0 commit comments

Comments
 (0)