-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,6 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Setup MSBuild | ||
uses: microsoft/[email protected] | ||
|
@@ -48,11 +46,6 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Download artifact | ||
uses: actions/download-artifact@v2 | ||
with: | ||
|
@@ -83,3 +76,42 @@ jobs: | |
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
repository: zhudotexe/FFXIV_DalamudPlugins | ||
event-type: new-release | ||
|
||
release-dalamudofficial: | ||
# on release publish only | ||
if: github.event_name == 'release' | ||
needs: build | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Download artifact | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: ReleaseZip | ||
path: out | ||
|
||
- name: Checkout DalamudPlugins | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: 'goatcorp/DalamudPlugins' | ||
path: DalamudPlugins | ||
|
||
- name: Copy dist files | ||
run: | | ||
cp out/latest.zip DalamudPlugins/autoSweep/latest.zip | ||
cp out/autoSweep.json DalamudPlugins/autoSweep/autoSweep.json | ||
cp -r out/images DalamudPlugins/autoSweep/images | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
path: DalamudPlugins | ||
commit-message: update PaissaHouse to ${{ github.event.release.tag_name }} | ||
delete-branch: true | ||
push-to-fork: zhudotexe/DalamudPlugins | ||
title: Update PaissaHouse to ${{ github.event.release.name }} | ||
body: | | ||
${{ github.event.release.body }} | ||
*This PR was automatically generated by the PaissaHouse build system ([link to run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})).* |