Skip to content

Commit

Permalink
Workflow updated
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanRoger committed Apr 9, 2022
1 parent 27d945f commit 3d83326
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/dotnet-ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: .NET-CI
name: .NET CI

on:
push:
pull_request:
branches: [ main ]

jobs:
build-test:

runs-on: windows-latest

steps:
Expand All @@ -15,9 +15,7 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Go to work directory
run: cd .\GlobalStrings\
- name: Build
run: dotnet build
run: dotnet build .\GlobalStrings\
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test .\GlobalStrings\
4 changes: 2 additions & 2 deletions .github/workflows/dotnet-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
dotnet-version: 5.0.x

- name: Pack
run: dotnet pack .\GlobalStrings\ -o out
run: dotnet pack .\GlobalStrings\ -o out -c Release

- name: Push to GH Pakcages
run: |
Expand All @@ -53,7 +53,7 @@ jobs:
dotnet-version: 5.0.x

- name: Pack
run: dotnet pack .\GlobalStrings\ -o out
run: dotnet pack .\GlobalStrings\ -o out -c Release

- name: Push to Nuget
run: |
Expand Down

0 comments on commit 3d83326

Please sign in to comment.