Compare commits
1 Commits
e82fdf4305
...
1f84178d2b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1f84178d2b |
@ -13,9 +13,25 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout Module
|
||||||
uses: https://github.com/actions/checkout@v4
|
uses: https://github.com/actions/checkout@v4
|
||||||
- name: Build
|
with:
|
||||||
run: dotnet build --configuration Release
|
path: Module.EventRegistration
|
||||||
|
- name: Checkout Oqtane
|
||||||
|
uses: https://github.com/actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: Diplomarbeit-Absolventenverein/oqtane.framework
|
||||||
|
path: oqtane.framework
|
||||||
|
ref: dev
|
||||||
|
- name: Setup Dotnet SDK
|
||||||
|
uses: https://github.com/actions/setup-dotnet@v4
|
||||||
|
with:
|
||||||
|
dotnet-version: '9.x'
|
||||||
|
- name: LS
|
||||||
|
run: ls -lisa
|
||||||
|
- name: Build Oqtane
|
||||||
|
run: dotnet build ./oqtane.framework/Oqtane.sln --configuration Release
|
||||||
|
- name: Build Module
|
||||||
|
run: dotnet build ./Module.EventRegistration/SZUAbsolventenverein.Module.EventRegistration.sln --configuration Release
|
||||||
- name: Test
|
- name: Test
|
||||||
run: dotnet test --configuration Release --no-build
|
run: dotnet test ./Module.EventRegistration/SZUAbsolventenverein.Module.EventRegistration.sln --configuration Release --no-build
|
@ -19,6 +19,8 @@ jobs:
|
|||||||
git branch --remote --contains | grep origin/main
|
git branch --remote --contains | grep origin/main
|
||||||
- name: Set VERSION variable from tag
|
- name: Set VERSION variable from tag
|
||||||
run: echo "VERSION=${GITEA_REF/refs\/tags\/v/}" >> $GITEA_ENV
|
run: echo "VERSION=${GITEA_REF/refs\/tags\/v/}" >> $GITEA_ENV
|
||||||
|
- name: Setup Dotnet SDK
|
||||||
|
uses: https://github.com/actions/setup-dotnet@v4
|
||||||
- name: Build
|
- name: Build
|
||||||
run: dotnet build --configuration Release /p:Version=${VERSION}
|
run: dotnet build --configuration Release /p:Version=${VERSION}
|
||||||
- name: Test
|
- name: Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user