Compare commits
	
		
			1 Commits
		
	
	
		
			ci
			...
			717eae41ef
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 717eae41ef | 
@ -13,9 +13,25 @@ jobs:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    timeout-minutes: 15
 | 
			
		||||
    steps:
 | 
			
		||||
    - name: Checkout
 | 
			
		||||
    - name: Checkout Module
 | 
			
		||||
      uses: https://github.com/actions/checkout@v4
 | 
			
		||||
    - name: Build
 | 
			
		||||
      run: dotnet build --configuration Release
 | 
			
		||||
      with:
 | 
			
		||||
        path: Module.EventRegistration
 | 
			
		||||
    - name: Checkout Oqtane
 | 
			
		||||
      uses: https://github.com/actions/checkout@v4
 | 
			
		||||
      with:
 | 
			
		||||
        repository: Diplomarbeit-Absolventenverein/oqtane.framework
 | 
			
		||||
        path: oqtane.framework
 | 
			
		||||
        ref: v6.1.1
 | 
			
		||||
    - 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 Debug
 | 
			
		||||
    - name: Build Module
 | 
			
		||||
      run: dotnet build ./Module.EventRegistration/SZUAbsolventenverein.Module.EventRegistration.sln --configuration Release
 | 
			
		||||
    - 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
 | 
			
		||||
    - name: Set VERSION variable from tag
 | 
			
		||||
      run: echo "VERSION=${GITEA_REF/refs\/tags\/v/}" >> $GITEA_ENV
 | 
			
		||||
    - name: Setup Dotnet SDK
 | 
			
		||||
      uses: https://github.com/actions/setup-dotnet@v4
 | 
			
		||||
    - name: Build
 | 
			
		||||
      run: dotnet build --configuration Release /p:Version=${VERSION}
 | 
			
		||||
    - name: Test
 | 
			
		||||
 | 
			
		||||
@ -2,4 +2,6 @@ TargetFramework=$1
 | 
			
		||||
ProjectName=$2
 | 
			
		||||
 | 
			
		||||
"..\..\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