Skip to content
Snippets Groups Projects
Verified Commit 2a556f25 authored by Bryan R's avatar Bryan R
Browse files

CI: Switch back to using 'dependencies'

Using 'needs' broke CI:
https://gitlab.haskell.org/ghc/head.hackage/-/pipelines/57782

'dependencies' doesn't care if the dependency exists or not, but 'needs'
does.
parent f4035615
No related branches found
No related tags found
No related merge requests found
...@@ -236,7 +236,7 @@ update-repo: ...@@ -236,7 +236,7 @@ update-repo:
- nix run -f ci/default.nix -c build-repo.sh extract-keys - nix run -f ci/default.nix -c build-repo.sh extract-keys
- nix run -f ci/default.nix -c build-repo.sh build-repo - nix run -f ci/default.nix -c build-repo.sh build-repo
needs: dependencies:
- build-master - build-master
after_script: after_script:
...@@ -254,7 +254,7 @@ pages: ...@@ -254,7 +254,7 @@ pages:
image: "nixos/nix:$DOCKER_TAG" image: "nixos/nix:$DOCKER_TAG"
script: script:
- mv repo public - mv repo public
needs: dependencies:
- update-repo - update-repo
rules: rules:
- if: '$CI_COMMIT_BRANCH == "master"' - if: '$CI_COMMIT_BRANCH == "master"'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment