chore(gitlab-ci): try to prevent release without upload
This commit is contained in:
parent
f44a11efa4
commit
9e3b23ae84
@ -107,6 +107,8 @@ yesod:build:dev:
|
|||||||
script:
|
script:
|
||||||
- stack build --test --copy-bins --local-bin-path $(pwd)/bin --fast --flag uniworx:-library-only --flag uniworx:dev --flag uniworx:pedantic --no-strip
|
- stack build --test --copy-bins --local-bin-path $(pwd)/bin --fast --flag uniworx:-library-only --flag uniworx:dev --flag uniworx:pedantic --no-strip
|
||||||
needs:
|
needs:
|
||||||
|
- job: npm install # transitive
|
||||||
|
artifacts: false
|
||||||
- job: frontend:build
|
- job: frontend:build
|
||||||
artifacts: true
|
artifacts: true
|
||||||
before_script: &haskell
|
before_script: &haskell
|
||||||
@ -143,6 +145,8 @@ yesod:build:
|
|||||||
script:
|
script:
|
||||||
- stack build --test --copy-bins --local-bin-path $(pwd)/bin --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --no-strip
|
- stack build --test --copy-bins --local-bin-path $(pwd)/bin --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --no-strip
|
||||||
needs:
|
needs:
|
||||||
|
- job: npm install # transitive
|
||||||
|
artifacts: false
|
||||||
- job: frontend:build
|
- job: frontend:build
|
||||||
artifacts: true
|
artifacts: true
|
||||||
before_script: *haskell
|
before_script: *haskell
|
||||||
@ -170,6 +174,8 @@ yesod:build:profile:
|
|||||||
script:
|
script:
|
||||||
- stack build --profile --copy-bins --local-bin-path $(pwd)/bin --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --no-strip
|
- stack build --profile --copy-bins --local-bin-path $(pwd)/bin --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --no-strip
|
||||||
needs:
|
needs:
|
||||||
|
- job: npm install # transitive
|
||||||
|
artifacts: false
|
||||||
- job: frontend:build
|
- job: frontend:build
|
||||||
artifacts: true
|
artifacts: true
|
||||||
before_script: *haskell
|
before_script: *haskell
|
||||||
@ -247,6 +253,10 @@ upload:
|
|||||||
stage: upload packages
|
stage: upload packages
|
||||||
image: curlimages/curl:latest
|
image: curlimages/curl:latest
|
||||||
needs:
|
needs:
|
||||||
|
- job: npm install # transitive
|
||||||
|
artifacts: false
|
||||||
|
- job: frontend:build # transitive
|
||||||
|
artifacts: false
|
||||||
- job: yesod:build
|
- job: yesod:build
|
||||||
artifacts: true
|
artifacts: true
|
||||||
- job: parse-changelog
|
- job: parse-changelog
|
||||||
@ -275,6 +285,12 @@ release:
|
|||||||
needs:
|
needs:
|
||||||
- job: upload
|
- job: upload
|
||||||
artifacts: false
|
artifacts: false
|
||||||
|
- job: npm install # transitive
|
||||||
|
artifacts: false
|
||||||
|
- job: frontend:build # transitive
|
||||||
|
artifacts: false
|
||||||
|
- job: yesod:build # transitive
|
||||||
|
artifacts: false
|
||||||
- job: parse-changelog
|
- job: parse-changelog
|
||||||
artifacts: true
|
artifacts: true
|
||||||
rules:
|
rules:
|
||||||
|
|||||||
Reference in New Issue
Block a user