Skip to content

Commit

Permalink
Merge pull request #256 from NethermindEth/benaadams-patch-1
Browse files Browse the repository at this point in the history
Add Windows importer
  • Loading branch information
benaadams authored Feb 24, 2024
2 parents 82a5a74 + 81aacf5 commit 8c28f53
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build-importer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
permissions:
contents: read
pull-requests: write # for sticky-pull-request-comment
strategy:
matrix:
os: [linux, windows]
steps:
- name: Cache dotnet
id: cache-dotnet
Expand Down Expand Up @@ -49,18 +52,18 @@ jobs:
- name: Test
run: dotnet test src/Paprika.Tests -c ${{ env.BUILD_CONFIG }} --filter TestCategory\!~LongRunning --collect:"XPlat Code Coverage" --results-directory ./coverage

- name: Build Importer for Linux
run: dotnet build -c Release --runtime linux-x64 src/Paprika.Importer/Paprika.Importer.csproj
- name: Build Importer
run: dotnet build -c Release --runtime ${{ matrix.os }}-x64 src/Paprika.Importer/Paprika.Importer.csproj

- uses: actions/upload-artifact@v4
with:
# Name of the artifact to upload.
# Optional. Default is 'artifact'
name: Paprika.Importer
name: Paprika.Importer.${{ matrix.os }}

# A file, directory or wildcard pattern that describes what to upload
# Required.
path: ./src/Paprika.Importer/bin/Release/net8.0/linux-x64
path: ./src/Paprika.Importer/bin/Release/net8.0/${{ matrix.os }}-x64

# The desired behavior if no files are found using the provided path.
# Available Options:
Expand All @@ -86,4 +89,4 @@ jobs:
# If false, the action will fail if an artifact for the given name already exists.
# Does not fail if the artifact does not exist.
# Optional. Default is 'false'
overwrite: true
overwrite: true

0 comments on commit 8c28f53

Please sign in to comment.