Skip to content

Commit

Permalink
fix build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ElderJames committed Dec 2, 2023
1 parent c6091ae commit d5dfea4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: |
npm i
SUFFIX=`date "+%y%m%d%H%M%S"`
dotnet build
dotnet build src/CssInCs.csproj
dotnet pack src/CssInCs.csproj /p:PackageVersion=$Version-nightly-${SUFFIX} -c Release -o publish
- name: Publish to Nuget ✔
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
VERSION=`git describe --tags`
echo "Publishing Version: ${VERSION}"
npm install
dotnet build
dotnet build src/CssInCs.csproj
rm -rf ./node_modules
dotnet pack src/CssInCs.csproj /p:PackageVersion=$VERSION -c Release -o publish
dotnet nuget push publish/*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate

0 comments on commit d5dfea4

Please sign in to comment.