Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main.yml #928

Merged
merged 3 commits into from
Feb 21, 2024
Merged
Changes from 1 commit
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
13 changes: 9 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,22 @@ jobs:
--version-suffix ${{ env.VERSION_SUFFIX }}
- name : Build (Neo)
run: |
dotnet build ./neo --version-suffix ${{ env.VERSION_SUFFIX_NEO }}
dotnet build ./neo --version-suffix ${{ env.VERSION_SUFFIX_NEO }}
shargon marked this conversation as resolved.
Show resolved Hide resolved
- name : Replace Neo reference by package in Neo.SmartContract.Testing
run: |
dotnet remove ./src/Neo.SmartContract.Testing/Neo.SmartContract.Testing.csproj reference '..\..\neo\src\Neo\Neo.csproj'
dotnet add ./src/Neo.SmartContract.Testing/Neo.SmartContract.Testing.csproj package 'Neo' --version ${{ env.VERSION_SUFFIX }}
shargon marked this conversation as resolved.
Show resolved Hide resolved
- name : Build (Neo.SmartContract.Testing)
run: |
dotnet build ./src/Neo.SmartContract.Testing --no-dependencies --version-suffix ${{ env.VERSION_SUFFIX }} -f net7.0
dotnet build ./src/Neo.SmartContract.Testing --no-dependencies --version-suffix ${{ env.VERSION_SUFFIX }} -f netstandard2.1
dotnet build ./src/Neo.SmartContract.Testing --no-dependencies -f net7.0
dotnet build ./src/Neo.SmartContract.Testing --no-dependencies -f netstandard2.1
- name : Pack (Neo.SmartContract.Testing)
run: |
dotnet pack ./src/Neo.SmartContract.Testing \
--no-build \
--configuration Debug \
--output ./out
--output ./out \
--version-suffix ${{ env.VERSION_SUFFIX }}
- name: Publish to Github Packages
working-directory: ./out
run: |
Expand Down
Loading