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