mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
make it easier to use local packages
This commit is contained in:
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@@ -111,7 +111,7 @@ jobs:
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: breez-sdk-flutter-${{ needs.setup.outputs.package-version }}
|
||||
path: breez-sdk-flutter
|
||||
path: snippets/dart_snippets/packages/breez-sdk-flutter
|
||||
|
||||
- name: pub-get
|
||||
working-directory: snippets/dart_snippets
|
||||
@@ -140,7 +140,18 @@ jobs:
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: Breez.Sdk.${{ needs.setup.outputs.package-version }}.nupkg
|
||||
path: packages
|
||||
path: .
|
||||
|
||||
- name: Create nuget package source
|
||||
working-directory: snippets/csharp
|
||||
run: |
|
||||
mkdir packages
|
||||
nuget add ../../Breez.Sdk.${{ needs.setup.outputs.package-version }}.nupkg -Source ./packages
|
||||
|
||||
- name: Add nuget dependency
|
||||
working-directory: snippets/csharp
|
||||
run: |
|
||||
dotnet add package Breez.Sdk -s ./packages
|
||||
|
||||
- name: Build the csharp project
|
||||
working-directory: snippets/csharp
|
||||
|
||||
Reference in New Issue
Block a user