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)
|
||||
js-file: ${{ steps.publish-js-filename.outputs.script-file }}
|
||||
steps:
|
||||
- name: Error on purpose
|
||||
id: failingstep
|
||||
run: exit 1
|
||||
#- name: Error on purpose
|
||||
# id: failingstep
|
||||
# run: exit 1
|
||||
#- name: Continue with this step anyway
|
||||
# if: ${{ failure() && steps.failingstep.conclusion == 'failure' }}
|
||||
# run: echo "Still running... ${{toJSON(steps)}}"
|
||||
@@ -100,10 +100,10 @@ jobs:
|
||||
echo Deploying...
|
||||
ls
|
||||
echo DONE!
|
||||
Notify-Commiter-Error:
|
||||
needs: Deploy
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ !cancelled() }}
|
||||
steps:
|
||||
- name: Blame commiter
|
||||
run: echo "OMG YOU BROKE THE BUILD!!! FIX IT"
|
||||
#Notify-Commiter-Error:
|
||||
# needs: Deploy
|
||||
# runs-on: ubuntu-latest
|
||||
# if: ${{ failure() }}
|
||||
# steps:
|
||||
# - name: Blame commiter
|
||||
# run: echo "OMG YOU BROKE THE BUILD!!! FIX IT"
|
||||
Reference in New Issue
Block a user