Skip to content

Commit

Permalink
Merge branch 'hotfix/v0.0.9'
Browse files Browse the repository at this point in the history
AlanRynne committed Jun 23, 2020
2 parents cf56365 + 70833e8 commit 5cfceb6
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -12,16 +12,24 @@ jobs:
steps:
- name: 🛎 Checkout repo
uses: actions/checkout@v2

- name: 🚧 Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
source-url: https://nuget.pkg.github.com/paramdigma/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: ⚙️ Install dependencies
run: dotnet restore

- name: 🏗 Build
run: dotnet build --configuration Release --no-restore

- name: 🧪 Test
run: dotnet test --no-restore --verbosity normal

- name: 🗜 Compress build files # This would actually build your project, using zip for an example artifact
run: zip --junk-paths ./Paramdigma.Core.zip ./src/bin/Release/netstandard2.0/*

@@ -45,11 +53,11 @@ jobs:
asset_path: ./Paramdigma.Core.zip
asset_name: Paramdigma.Core.zip
asset_content_type: application/zip

- name: 📦 Create the package
run: dotnet pack --configuration Release src/Paramdigma.Core.csproj
- run: dotnet nuget add source https://nuget.pkg.github.com/Paramdigma/index.json --name github --username AlanRynne --password ${{secrets.GITHUB_TOKEN}}
- name: 🚀 Publish the package to GPR
run: dotnet nuget push ./src/bin/Release/*.nupkg --source github
run: dotnet nuget push src/bin/Release/*.nupkg

deploy_docs:
runs-on: ubuntu-latest
2 changes: 1 addition & 1 deletion src/Paramdigma.Core.csproj
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@

<PropertyGroup>
<PackageId>Paramdigma.Core</PackageId>
<Version>0.0.8</Version>
<Version>0.0.9</Version>
<Authors>Alan Rynne</Authors>
<Company>Paramdigma</Company>
<PackageDescription>Computational Geometry library for .Net</PackageDescription>

0 comments on commit 5cfceb6

Please sign in to comment.