Skip to content

Commit

Permalink
ci: fix path of .csproj
Browse files Browse the repository at this point in the history
  • Loading branch information
tingwei628 committed Jan 8, 2025
1 parent b73d72c commit 1c6067a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
dotnet-version: ${{ matrix.dotnet-version }}

- name: Restore dependencies
run: dotnet restore
run: dotnet restore Unofficial_ECPayAIO_Net/ECPay.Payment.Integration/ECPay.Payment.Integration.csproj

- name: Set Package Version
run: |
sed -i 's/<Version>.*<\/Version>/<Version>${{ github.event.inputs.version }}<\/Version>/' Unofficial_ECPayAIO_Net/ECPay.Payment.Integration/ECPay.Payment.Integration.csproj
- name: Build and Package
run: dotnet pack --configuration Release --output ./nuget
run: dotnet pack --configuration Release --output ./nuget Unofficial_ECPayAIO_Net/ECPay.Payment.Integration/ECPay.Payment.Integration.csproj

- name: Publish to GitHub Packages
env:
Expand Down

0 comments on commit 1c6067a

Please sign in to comment.