feat: 💚 Trying to make things works

This commit is contained in:
Louis Gallet 2023-11-28 23:17:22 +01:00
parent 5af7a7401a
commit b96047bf0e
Signed by: lgallet
SSH Key Fingerprint: SHA256:qnW7pk4EoMRR0UftZLZQKSMUImbEFsiruLC7jbCHJAY

View File

@ -3,17 +3,24 @@ name: CI
on:
push:
tags:
- 'archi-${{ env.PROJECT_TO_TEST }}'
- test-*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get Tag Name & REPO Url
uses: olegtarasov/get-tag@v2.1.2
id: tagName
with:
tagRegex: "test-(.+)" # Optional. Returns specified group text as tag name. Full tag string is returned if regex is not defined.
tagRegexGroup: 1 # Optional. Default is 1.
- name: Checkout code
uses: actions/checkout@v3
with: ${{ env.PROJECT_TO_TEST }}
# Clone the URL OF REMOTE PROJECT to test
with:
repository: ${{ steps.tagName.outputs.tag }}
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'