Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: work flow.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Mar 27, 2024
1 parent faa2e7f commit 1dc09b9
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 1dc09b9

Please sign in to comment.