Update .gitea/workflows/build.yml
This commit is contained in:
+10
-10
@@ -17,9 +17,9 @@ jobs:
|
|||||||
# script-file -> The key name which contains the output (saved by the step - see Publish JS Filename Step)
|
# script-file -> The key name which contains the output (saved by the step - see Publish JS Filename Step)
|
||||||
js-file: ${{ steps.publish-js-filename.outputs.script-file }}
|
js-file: ${{ steps.publish-js-filename.outputs.script-file }}
|
||||||
steps:
|
steps:
|
||||||
- name: Error on purpose
|
#- name: Error on purpose
|
||||||
id: failingstep
|
# id: failingstep
|
||||||
run: exit 1
|
# run: exit 1
|
||||||
#- name: Continue with this step anyway
|
#- name: Continue with this step anyway
|
||||||
# if: ${{ failure() && steps.failingstep.conclusion == 'failure' }}
|
# if: ${{ failure() && steps.failingstep.conclusion == 'failure' }}
|
||||||
# run: echo "Still running... ${{toJSON(steps)}}"
|
# run: echo "Still running... ${{toJSON(steps)}}"
|
||||||
@@ -100,10 +100,10 @@ jobs:
|
|||||||
echo Deploying...
|
echo Deploying...
|
||||||
ls
|
ls
|
||||||
echo DONE!
|
echo DONE!
|
||||||
Notify-Commiter-Error:
|
#Notify-Commiter-Error:
|
||||||
needs: Deploy
|
# needs: Deploy
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
if: ${{ !cancelled() }}
|
# if: ${{ failure() }}
|
||||||
steps:
|
# steps:
|
||||||
- name: Blame commiter
|
# - name: Blame commiter
|
||||||
run: echo "OMG YOU BROKE THE BUILD!!! FIX IT"
|
# run: echo "OMG YOU BROKE THE BUILD!!! FIX IT"
|
||||||
Reference in New Issue
Block a user