Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Marfusios committed Jun 21, 2024
1 parent f73a484 commit dd4c7fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/dotnet-core-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
Expand All @@ -21,3 +21,4 @@ jobs:
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
working-directory: ./plugin
6 changes: 4 additions & 2 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ permissions:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
Expand All @@ -27,6 +27,7 @@ jobs:
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --logger "trx;LogFileName=tests.trx"
working-directory: ./plugin
env:
Strike__ApiKey: ${{secrets.STRIKE_API_KEY}}
- name: Test Report
Expand All @@ -36,6 +37,7 @@ jobs:
name: tests
path: '**/*.trx'
reporter: dotnet-trx
working-directory: ./plugin
#- name: Pack library project
# run: dotnet pack src/Strike.Client/Strike.Client.csproj --no-build --configuration Release --include-symbols -p:SymbolPackageFormat=snupkg -o .
#- name: Publish library (NuGet)
Expand Down

0 comments on commit dd4c7fd

Please sign in to comment.