Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 23 additions & 23 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- master
env:
APP_NAME: DanishCvr
VERSION: 1.0.0-preview
VERSION: 1.0.0
NUGET_HOST: https://api.nuget.org/v3/index.json
NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }}
jobs:
Expand Down Expand Up @@ -37,27 +37,27 @@ jobs:
throw "Pack failed";
};

# - name: Push NuGet
# if: github.ref == 'refs/heads/master'
# shell: pwsh
# run: |
# dotnet nuget push "nupkgs/*.nupkg" -s $env:NUGET_HOST -k $env:NUGET_APIKEY --skip-duplicate
- name: Push NuGet
if: github.ref == 'refs/heads/master'
shell: pwsh
run: |
dotnet nuget push "nupkgs/*.nupkg" -s $env:NUGET_HOST -k $env:NUGET_APIKEY --skip-duplicate

# if ($LastExitCode -ne 0)
# {
# throw "Publish failed";
# };
if ($LastExitCode -ne 0)
{
throw "Publish failed";
};

# - name: GitHub Release
# if: github.ref == 'refs/heads/master'
# uses: ncipollo/release-action@v1
# with:
# tag: v${{ env.VERSION }}
# name: "Release ${{ env.VERSION }}"
# body: |
# Version: ${{ env.VERSION }}
# Commit: ${{ github.sha }}
# artifacts: "nupkgs/*"
# token: ${{ secrets.GITHUB_TOKEN }}
# draft: false
# prerelease: false
- name: GitHub Release
if: github.ref == 'refs/heads/master'
uses: ncipollo/release-action@v1
with:
tag: v${{ env.VERSION }}
name: "Release ${{ env.VERSION }}"
body: |
Version: ${{ env.VERSION }}
Commit: ${{ github.sha }}
artifacts: "nupkgs/*"
token: ${{ secrets.GITHUB_TOKEN }}
draft: false
prerelease: false
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,3 @@ Both services are registered by `AddDanishCvr()`.
| Method | Description | Returns |
|---|---|---|
| `SearchAllAsync` | Walks all CVR number prefixes in parallel and hands each batch of companies to a callback. Used to build a local copy of the register. | `DebugInformation` |

Loading