Skip to content

Commit

Permalink
Unset IsPackable and change workflow to only pack GW2SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
sliekens committed Sep 19, 2023
1 parent 45f5ad1 commit 4d4000d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:
- name: Build
run: dotnet build --configuration ${{ env.build-configuration }} --no-restore
- name: Pack artifacts
run: dotnet pack --configuration ${{ env.build-configuration }} --no-build --output artifacts --version-suffix CI-$(date --utc '+%Y%m%d-%H%M%S')
run: dotnet pack GW2SDK --configuration ${{ env.build-configuration }} --no-build --output artifacts --version-suffix CI-$(date --utc '+%Y%m%d-%H%M%S')
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: packages
path: artifacts
- name: Upload packages to GitHub Packages
run: dotnet nuget push artifacts/*.nupkg --source https://nuget.pkg.github.com/sliekens/index.json --api-key ${{secrets.GITHUB_TOKEN}}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
if: ${{ github.event_name == 'push' }}
1 change: 0 additions & 1 deletion GW2SDK.TestDataHelper/GW2SDK.TestDataHelper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<IsPackable>false</IsPackable>
<TargetFramework>net7.0</TargetFramework>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<noWarn>1591</noWarn>
Expand Down
1 change: 0 additions & 1 deletion GW2SDK.Tests/GW2SDK.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<TargetFrameworks>net7.0;net481</TargetFrameworks>
<UserSecretsId>a8ab34fc-ca23-453c-b913-59b025c2b48e</UserSecretsId>
<IsPackable>false</IsPackable>
<Nullable>Disable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
Expand Down
3 changes: 0 additions & 3 deletions samples/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
<Project>
<PropertyGroup>
<IsPackable>false</IsPackable>
</PropertyGroup>
</Project>

0 comments on commit 4d4000d

Please sign in to comment.