mirror of
https://gitgud.io/amevarashi/rjw-sexperience-ideology.git
synced 2024-08-15 00:43:19 +00:00
Compare commits
10 commits
4136e131e7
...
00c4eac73a
Author | SHA1 | Date | |
---|---|---|---|
|
00c4eac73a | ||
|
818d288cc5 | ||
|
e643833472 | ||
|
2399f2af64 | ||
|
61b209021a | ||
|
12af69d11a | ||
|
6aac2836bb | ||
|
863dfc71dc | ||
|
bc6c37e0cc | ||
|
80f0786960 |
1 changed files with 21 additions and 8 deletions
|
@ -83,20 +83,22 @@ cache:
|
||||||
# in the root of project repository, so its content can be cached.
|
# in the root of project repository, so its content can be cached.
|
||||||
#
|
#
|
||||||
# Learn more about GitLab cache: https://docs.gitlab.com/ee/ci/caching/index.html
|
# Learn more about GitLab cache: https://docs.gitlab.com/ee/ci/caching/index.html
|
||||||
before_script:
|
#before_script:
|
||||||
- 'cd $SOURCE_CODE_PATH'
|
# - 'cd $SOURCE_CODE_PATH'
|
||||||
- 'dotnet restore --packages ../$NUGET_PACKAGES_DIRECTORY'
|
# - 'dotnet restore --packages ../$NUGET_PACKAGES_DIRECTORY'
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
# ### Build all projects discovered from solution file.
|
# ### Build all projects discovered from solution file.
|
||||||
script:
|
script:
|
||||||
|
- 'cd $SOURCE_CODE_PATH'
|
||||||
|
- 'dotnet restore --packages ../$NUGET_PACKAGES_DIRECTORY'
|
||||||
- 'curl -s --create-dirs "$RJW_DLL_URL" -o ../../rjw/$RIMWORLD_VERSION/Assemblies/RJW.dll'
|
- 'curl -s --create-dirs "$RJW_DLL_URL" -o ../../rjw/$RIMWORLD_VERSION/Assemblies/RJW.dll'
|
||||||
- 'dotnet build --no-restore'
|
- 'dotnet build --no-restore'
|
||||||
artifacts:
|
artifacts:
|
||||||
untracked: false
|
untracked: false
|
||||||
when: on_success
|
when: on_success
|
||||||
expire_in: 3 days
|
expire_in: 1 day
|
||||||
paths:
|
paths:
|
||||||
- "*" # Incluse everything
|
- "*" # Incluse everything
|
||||||
exclude:
|
exclude:
|
||||||
|
@ -117,7 +119,18 @@ build:
|
||||||
# script:
|
# script:
|
||||||
# - 'dotnet test --no-restore'
|
# - 'dotnet test --no-restore'
|
||||||
|
|
||||||
#deploy:
|
release_dev:
|
||||||
# stage: deploy
|
stage: deploy
|
||||||
# script: echo "Define your deployment script!"
|
# image: registry.gitlab.com/gitlab-org/release-cli:latest # this image currently is amd64 only
|
||||||
# environment: production
|
image: alpine:latest
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_TAG
|
||||||
|
when: never # Do not run this job when a tag is created manually
|
||||||
|
- if: $CI_COMMIT_BRANCH == "ci-test" # Run this job when commits are pushed or merged to the dev branch
|
||||||
|
script:
|
||||||
|
- 'apk add gitlab-release-cli'
|
||||||
|
release: # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties
|
||||||
|
tag_name: 'test-build-$CI_PIPELINE_IID' # The version is incremented per pipeline.
|
||||||
|
description: 'Automated release based on commit CI_COMMIT_SHA'
|
||||||
|
ref: '$CI_COMMIT_SHA' # The tag is created from the pipeline SHA.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue