Louis 7d41c84272
Some checks failed
CI / build (push) Failing after 43s
ci: 💚 all push
2023-11-28 23:23:41 +01:00

29 lines
731 B
YAML

name: CI
on:
push:
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
# 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'
- name: "🏗️ Build"
run: dotnet build
- name: "✅ Test"
run: dotnet test