Skip to content

Commit

Permalink
build: push nuget package to github registry
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Ghensi committed May 28, 2024
1 parent eb8f2ca commit a0d20de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@ jobs:
run: pwsh make.ps1
- name: Package
run: pwsh make.ps1 package
- uses: actions/upload-artifact@v2
with:
name: packages
path: Package/Release/Packages
- name: Test (net48)
run: ./make.ps1 -frameworks net48 test-all
shell: pwsh
- name: Test (net6.0)
run: ./make.ps1 -frameworks net6.0 test-all
shell: pwsh
- name: Push
run: dotnet nuget push Package\Release\Packages\*.nupkg --source https://nuget.pkg.github.com/pyrevitlabs/index.json --api-key ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion Build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<PackageVersion Condition="'$(ReleaseLevel)' != 'final' or '$(ReleaseSerial)' != '0'">$(MajorVersion).$(MinorVersion).$(MicroVersion)-$(ReleaseLevel)$(ReleaseSerial)</PackageVersion>

<StageDir>$(RootDir)\Package\$(Configuration)\Stage\DynamicLanguageRuntime.$(PackageVersion)</StageDir>
<PackageDir>$(RootDir)\Package\$(Configuration)\Packages\DynamicLanguageRuntime.$(PackageVersion)</PackageDir>
<PackageDir>$(RootDir)\Package\$(Configuration)\Packages</PackageDir>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit a0d20de

Please sign in to comment.