Add token to .gitlab-ci.yml

This commit is contained in:
Jack Christensen 2024-08-10 22:24:51 -04:00
parent fb7d670eca
commit 6b74045c57
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ before_script:
build: build:
stage: build stage: build
script: 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 -B build -S . -DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake
- cmake --build build - cmake --build build
tags: tags: