diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml deleted file mode 100644 index c2464fd..0000000 --- a/.github/workflows/github-release.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Release to GitHub Packages - -on: - workflow_dispatch: - release: - types: [published] - -jobs: - build: - runs-on: ubuntu-latest - timeout-minutes: 5 - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Setup .NET SDK - uses: actions/setup-dotnet@v1 - - name: Build - run: dotnet build -c Release - - name: Test - run: dotnet test -c Release --no-build - - name: Pack nugets - run: dotnet pack -c Release --no-build --output . - - name: GitHub auth - run: dotnet nuget add source --username USERNAME --password ${{ secrets.HUB_API_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/Zt-freak/index.json" - - name: Push to GitHub Packages - run: dotnet nuget push "*.nupkg" --api-key ${{secrets.HUB_API_TOKEN}} --source "github" \ No newline at end of file diff --git a/NPOI.WordTemplateMapper.Interfaces/NPOI.WordTemplateMapper.Interfaces.csproj b/NPOI.WordTemplateMapper.Interfaces/NPOI.WordTemplateMapper.Interfaces.csproj index cfd4fcd..f5d41c2 100644 --- a/NPOI.WordTemplateMapper.Interfaces/NPOI.WordTemplateMapper.Interfaces.csproj +++ b/NPOI.WordTemplateMapper.Interfaces/NPOI.WordTemplateMapper.Interfaces.csproj @@ -15,6 +15,7 @@ xwpfmapper-logo.png Apodemus.$(AssemblyName) Apodemus.$(AssemblyName) + 1.0.1 diff --git a/NPOI.WordTemplateMapper.sln b/NPOI.WordTemplateMapper.sln index 56c1665..1bc497a 100644 --- a/NPOI.WordTemplateMapper.sln +++ b/NPOI.WordTemplateMapper.sln @@ -20,7 +20,6 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{AC2DB9A2-DBA1-4453-B32E-CF590703629B}" ProjectSection(SolutionItems) = preProject .github\workflows\dotnet.yml = .github\workflows\dotnet.yml - .github\workflows\github-release.yml = .github\workflows\github-release.yml .github\workflows\nuget-release.yml = .github\workflows\nuget-release.yml EndProjectSection EndProject