Compare commits
1 Commits
ci
...
65f0bfbb98
Author | SHA1 | Date | |
---|---|---|---|
65f0bfbb98 |
@ -27,24 +27,11 @@ jobs:
|
||||
uses: https://github.com/actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: '9.x'
|
||||
# - name: Setup NuGet
|
||||
# uses: https://github.com/nuget/setup-nuget@v2
|
||||
# with:
|
||||
# nuget-api-key: ${{ secrets.NuGetAPIKey }}
|
||||
# nuget-version: '5.x'
|
||||
- name: LS
|
||||
run: ls -lisa
|
||||
- name: Build Oqtane
|
||||
run: dotnet build ./oqtane.framework/Oqtane.sln --configuration Debug
|
||||
- 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: Create Release
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
env:
|
||||
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
||||
with:
|
||||
body: "Test-release"
|
||||
draft: true
|
||||
files: |-
|
||||
./**/*.nupkg
|
||||
./*.nupkg
|
||||
run: dotnet test ./Module.EventRegistration/SZUAbsolventenverein.Module.EventRegistration.sln --configuration Release --no-build
|
@ -1,9 +1,7 @@
|
||||
TargetFramework=$1
|
||||
ProjectName=$2
|
||||
|
||||
# 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
|
||||
|
||||
#cp -f "*.nupkg" "..\..\oqtane.framework\Oqtane.Server\Packages\"
|
||||
../../oqtane.framework/oqtane.package/nuget.exe pack %ProjectName%.nuspec -Properties targetframework=%TargetFramework%;projectname=%ProjectName%
|
||||
ls # JUST FOR DEBUGGING
|
||||
pwd # JUST FOR DEBUGGING
|
||||
cp -f "*.nupkg" "..\..\oqtane.framework\Oqtane.Server\Packages\"
|
Reference in New Issue
Block a user