From b96047bf0ec52463d0c1cd570e10aaee7cd5fa4a Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 28 Nov 2023 23:17:22 +0100 Subject: [PATCH] feat: :green_heart: Trying to make things works --- .gitea/workflows/moulinette.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/moulinette.yml b/.gitea/workflows/moulinette.yml index 6bf4006..a0f006b 100644 --- a/.gitea/workflows/moulinette.yml +++ b/.gitea/workflows/moulinette.yml @@ -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'