feat: 💚 Trying to make things works
This commit is contained in:
parent
5af7a7401a
commit
b96047bf0e
@ -3,17 +3,24 @@ name: CI
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'archi-${{ env.PROJECT_TO_TEST }}'
|
- test-*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
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
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
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
|
- uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: '7.0.x'
|
dotnet-version: '7.0.x'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user