1 Commits

Author SHA1 Message Date
c53065f351 CI: Setup dotnet SDK before running automatic build
Some checks failed
/ build (push) Failing after 1m40s
2025-05-17 15:20:44 +02:00
2 changed files with 4 additions and 13 deletions

View File

@ -37,13 +37,4 @@ jobs:
- name: Build Module
run: dotnet build ./Module.EventRegistration/SZUAbsolventenverein.Module.EventRegistration.sln --configuration Release
- name: Test
run: dotnet test ./Module.EventRegistration/SZUAbsolventenverein.Module.EventRegistration.sln --configuration Release --no-build
- name: Upload Artifacts
uses: https://github.com/actions/upload-artifact@v4
with:
name: nuget
if-no-files-found: error
retention-days: 7
path: |
./*.nupkg
./**/*.nupkg
run: dotnet test ./Module.EventRegistration/SZUAbsolventenverein.Module.EventRegistration.sln --configuration Release --no-build

View File

@ -1,9 +1,9 @@
TargetFramework=$1
ProjectName=$2
# chmod +x ../../oqtane.framework/Oqtane.Package/nuget.exe
chmod +x ../../oqtane.framework/Oqtane.Package/nuget.exe
# "../../oqtane.framework/Oqtane.Package/nuget.exe" pack %ProjectName%.nuspec -Properties targetframework=%TargetFramework%;projectname=%ProjectName%
# https://learn.microsoft.com/en-us/nuget/reference/dotnet-commands
dotnet pack SZUAbsolventenverein.Module.EventRegistration.Package.csproj --no-build
dotnet pack ../SZUAbsolventenverein.Module.EventRegistration.sln --no-build
#cp -f "*.nupkg" "..\..\oqtane.framework\Oqtane.Server\Packages\"
cp -f "*.nupkg" "..\..\oqtane.framework\Oqtane.Server\Packages\"