Skip to content

Commit

Permalink
Merge pull request #39 from Takasaki-Studio/dev
Browse files Browse the repository at this point in the history
Fix: new ci/cd flow dotnet6
  • Loading branch information
Takasakiii authored Nov 15, 2023
2 parents 1883695 + 365e513 commit eaf8272
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/dotnet.yml → .github/workflows/dotnet6.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: .NET Publish
name: .NET 6

on:
workflow_dispatch:
push:
branches: [ "*" ]
branches: [ "dotnet6" ]
pull_request:
branches: [ "main", "dev" ]
branches: [ "dotnet6" ]

jobs:
build:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
needs: [ test ]
environment: 'Production'
runs-on: ubuntu-latest
if: github.ref_name == 'dev' && github.event_name == 'push'
if: github.ref_name == 'dotnet6' && github.event_name == 'push'

steps:
- uses: actions/checkout@v3
Expand All @@ -70,7 +70,7 @@ jobs:
needs: [ test ]
environment: 'Production Nuget'
runs-on: ubuntu-latest
if: github.ref_name == 'main' && github.event_name == 'push'
if: github.ref_name == 'dotnet6' && github.event_name == 'push'

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit eaf8272

Please sign in to comment.