Skip to content

Commit

Permalink
Merge pull request #216 from AsakusaRinne/auto_release_ci
Browse files Browse the repository at this point in the history
ci: try to fix error of pushing package.
  • Loading branch information
AsakusaRinne authored Oct 24, 2023
2 parents f62afad + 4b86bc8 commit 1299de3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-minor-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
types: [ closed ]

jobs:
trigger_minor_release:
release-minor-trigger:
if: contains(github.event.pull_request.labels.*.name, 'minor-release') && !contains(github.event.pull_request.labels.*.name, 'patch-release')
runs-on: ubuntu-latest

Expand All @@ -17,4 +17,3 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

4 changes: 3 additions & 1 deletion .github/workflows/release-minor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: auto-release
name: auto-minor-release

on:
workflow_run:
Expand All @@ -11,9 +11,11 @@ env:

jobs:
minor_release_to_nuget:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup NuGet
uses: nuget/setup-nuget@v1
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release-patch-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
types: [ closed ]

jobs:
trigger_patch_release:
release-patch-trigger:
if: contains(github.event.pull_request.labels.*.name, 'patch-release') && !contains(github.event.pull_request.labels.*.name, 'minor-release')
runs-on: ubuntu-latest

Expand All @@ -17,4 +17,3 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

4 changes: 3 additions & 1 deletion .github/workflows/release-patch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: auto-release
name: auto-patch-release

on:
workflow_run:
Expand All @@ -11,9 +11,11 @@ env:

jobs:
patch_release_to_nuget:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup NuGet
uses: nuget/setup-nuget@v1
with:
Expand Down

0 comments on commit 1299de3

Please sign in to comment.