Add token to .gitlab-ci.yml
This commit is contained in:
parent
fb7d670eca
commit
6b74045c57
|
@ -15,6 +15,8 @@ before_script:
|
|||
build:
|
||||
stage: build
|
||||
script:
|
||||
- echo "Running tests with access token"
|
||||
- curl --header "Private-Token: $GITLAB_TOKEN" "https://gitlab.example.com/api/v4/projects"
|
||||
- cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake
|
||||
- cmake --build build
|
||||
tags:
|
||||
|
|
Loading…
Reference in New Issue