-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
101 changed files
with
109,822 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
#name: Publish NuGet package | ||
name: Publish NuGet package | ||
|
||
#on: | ||
# push: | ||
# tags: | ||
# - '*' | ||
on: | ||
workflow_dispatch: | ||
release: | ||
branches: [ master ] | ||
|
||
#jobs: | ||
# build: | ||
|
||
# runs-on: windows-latest | ||
|
||
# steps: | ||
# - name: Checkout | ||
# run: git config --global core.autocrlf true | ||
# - uses: actions/checkout@v2 | ||
# with: | ||
# submodules: true | ||
# - name: Restore dependencies | ||
# run: dotnet restore | ||
# - name: Build NuGet package | ||
# run: dotnet pack ./ACadSharp.sln -c Release -o packages | ||
# - name: Publish NuGet package | ||
# run: dotnet nuget push .\packages\ACadSharp*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json | ||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
- name: Publish NuGet package | ||
working-directory: src | ||
run: | | ||
git submodule update --force --recursive --init --remote | ||
dotnet restore | ||
dotnet build --configuration Release | ||
dotnet pack ./ACadSharp/ACadSharp.csproj --configuration Release | ||
foreach($file in (Get-ChildItem ./nupkg -Recurse -Include *.nupkg)) { | ||
dotnet nuget push $file --api-key "${{ secrets.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate | ||
} |
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+37.9 KB
samples/color_samples/color_sample.dwg → ...les/color_samples/color_sample_AC1032.dwg
Binary file not shown.
Oops, something went wrong.