From 1dc09b9b513b30561bc0bf595448af8d5aaea7fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E6=B0=B4?= <53346444+ArchiDog1998@users.noreply.github.com> Date: Wed, 27 Mar 2024 23:14:41 +0800 Subject: [PATCH] fix: work flow. --- .github/workflows/release-please.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 5f80d3a..f20a9a0 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -1,11 +1,12 @@ on: push: branches: - - release + - main name: release-please jobs: release-please: name : releasePlz + if : ${{ startsWith(github.event.head_commit.message, 'chore:') || startsWith(github.event.head_commit.message, 'Merge pull request')}} runs-on: ubuntu-latest outputs: released: ${{ steps.rp.outputs.releases_created }} @@ -31,7 +32,7 @@ jobs: - name: Set up .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Restore Dependencies run: dotnet restore @@ -48,7 +49,7 @@ jobs: - name: Upload Artifact uses: actions/upload-artifact@v3 with: - path: .\ActionTimelineEx\bin\Release\net7.0-windows\ActionTimelineEx\ + path: .\ActionTimelineEx\bin\Release\net8.0-windows\ActionTimelineEx\ release: name: release @@ -70,10 +71,3 @@ jobs: asset_path: artifact/latest.zip asset_name: latest.zip asset_content_type: application/zip - - - name: Trigger Repo Update - uses: peter-evans/repository-dispatch@v2 - with: - token: ${{ secrets.PAT }} - repository: ${{ github.repository_owner }}/Dalamud_Plugins - event-type: new-release