Update .gitea/workflows/build.yml
Build Workflow / Build (push) Successful in 1m51s
Build Workflow / Deploy (push) Successful in 56s

This commit is contained in:
2023-07-15 02:53:50 +02:00
parent 11f54a8e9c
commit f602306a7f
+10 -10
View File
@@ -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"