Skip to content

Commit

Permalink
fix(v0.0.6/cd): Remove pack step, since nuget action packs it anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
densogiaichned committed Feb 18, 2024
1 parent 4163a69 commit 3d9d0d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,12 @@ jobs:

- name: Restore dependencies
run: dotnet restore ${{ env.solution }}
- name: Pack
env:
INCLUDE_TC_LIBRARIES: true
run: dotnet pack -c Release --no-restore ${{ env.solution }}

- name: Publish on version change
id: publish_nuget
uses: alirezanet/publish-nuget@v3.1.0
env:
INCLUDE_TC_LIBRARIES: true
with:
PROJECT_FILE_PATH: ${{ env.csproj }}
NUGET_KEY: ${{ secrets.TCHAXX_NUGET_API_KEY }}
3 changes: 2 additions & 1 deletion src/TcHaxx.Snappy.CLI/TcHaxx.Snappy.CLI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Description>A Snapshot Testing framework for TwinCAT 3</Description>
<Copyright>Copyright (c) 2024 densogiaichned</Copyright>
<Title>TwinCAT Snapshot Testing framework</Title>
<Version>0.0.5</Version>
<Version>0.0.6</Version>
<AssemblyVersion>$(Version)</AssemblyVersion>
<FileVersion>$(Version)</FileVersion>
<PackAsTool>True</PackAsTool>
Expand Down Expand Up @@ -39,6 +39,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\TcHaxx.Snappy.CLI.Installer\TcHaxx.Snappy.CLI.Installer.csproj" />
<ProjectReference Include="..\TcHaxx.Snappy.TcADS\TcHaxx.Snappy.TcADS.csproj" />
<ProjectReference Include="..\TcHaxx.Snappy.Verifier\TcHaxx.Snappy.Verifier.csproj" />
</ItemGroup>
Expand Down

0 comments on commit 3d9d0d1

Please sign in to comment.