Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c1370b1f71 | |||
| 613b1e1843 | |||
| df9bf69405 | |||
| 38aedff5c2 | |||
| a798ee544e |
@@ -22,7 +22,7 @@ jobs:
|
||||
- name: "Build Interfaces Project"
|
||||
run: dotnet build -c PublishNuget ./Interfaces/Interfaces.csproj
|
||||
- name: "Release to Package Registry"
|
||||
run: dotnet nuget push --source gitea --api-key ${{ secrets.REGISTRY_TOKEN_KOCODER }} ./Interfaces/Interfaces.*.nupkg
|
||||
run: dotnet nuget push --source DAV --api-key ${{ secrets.REGISTRY_TOKEN_KOCODER }} ./Interfaces/Interfaces.*.nupkg
|
||||
- name: "Create release"
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
</packageTypes>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="./bin\$configuration$\$targetframework$\$ProjectName$.dll" target="lib\$targetframework$" />
|
||||
<file src="./bin\$configuration$\$targetframework$\$ProjectName$.pdb" target="lib\$targetframework$" />
|
||||
<file src="./bin\$Config$\$targetframework$\$ProjectName$.dll" target="lib\$targetframework$" />
|
||||
<file src="./bin\$Config$\$targetframework$\$ProjectName$.pdb" target="lib\$targetframework$" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -3,11 +3,15 @@ TargetFramework=$1
|
||||
ProjectName=$2
|
||||
Configuration=$3
|
||||
|
||||
echo "ENV: ${TargetFramework} ${ProjectName} ${Configuration}"
|
||||
echo "ENV Following:"
|
||||
env
|
||||
|
||||
echo "ENV: ${TargetFramework} ${ProjectName} ${Configuration} RN: ${GITHUB_REF_NAME}"
|
||||
|
||||
cat $ProjectName.nuspec
|
||||
|
||||
find . -name *.nupkg -delete
|
||||
dotnet pack $ProjectName.nuspec "/p:targetframework=${TargetFramework};ProjectName=${ProjectName};configuration=${Configuration}"
|
||||
dotnet pack $ProjectName.nuspec "/p:targetframework=${TargetFramework};ProjectName=${ProjectName};Config=${Configuration}"
|
||||
|
||||
if [ $Configuration == 'PublishNuget' ]; then
|
||||
echo "Skipping copy to Oqtane.Server/Packages"
|
||||
|
||||
Reference in New Issue
Block a user