Skip to content

Commit

Permalink
Remove unecessary if: success() from Github release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AshCorr committed Feb 8, 2024
1 parent e3b8aa4 commit 73144c5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,14 @@ jobs:
npm run testnodeconsumer
- name: Production Build
if: success()
run: npx grunt prod

- name: UI Tests
if: success()
run: |
sudo apt-get install xvfb
xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
- name: Image Metadata
if: success()
id: image-metadata
uses: docker/metadata-action@v4
with:
Expand All @@ -58,7 +55,6 @@ jobs:
type=semver,pattern={{version}}
- name: Production Image Build
if: success()
id: build-image
uses: redhat-actions/buildah-build@v2
with:
Expand All @@ -74,7 +70,6 @@ jobs:
- name: Upload Release Assets
if: success()
id: upload-release-assets
uses: svenstaro/upload-release-action@v2
with:
Expand All @@ -86,13 +81,11 @@ jobs:
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."

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

- name: Publish to GHCR
if: success()
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
Expand Down

0 comments on commit 73144c5

Please sign in to comment.