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

Commit

Permalink
fix: changed frame work.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Jul 16, 2023
1 parent 85c6151 commit 1bf70e4
Show file tree
Hide file tree
Showing 42 changed files with 1,863 additions and 1,962 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ko_fi: ArchiTed
87 changes: 87 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
on:
push:
branches:
- release
name: release-please
jobs:
release-please:
name : releasePlz
runs-on: ubuntu-latest
outputs:
released: ${{ steps.rp.outputs.releases_created }}
upload_url: ${{ steps.rp.outputs.upload_url }}
steps:
- id: rp
uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: release-please-action
default-branch: release

build:
name : build
needs: release-please
if: ${{ needs.release-please.outputs.released }}
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- name: Set up .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x

- name: Restore Dependencies
run: dotnet restore

- name: Download Dalamud
run: |
Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/latest.zip -OutFile latest.zip
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev"
- name: Build Plugin
run: |
invoke-expression 'dotnet build --no-restore --configuration Release RotationSolver'
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
path: .\RotationSolver\bin\Release\net7.0-windows\RotationSolver\

- name: publish on version change
id: publish_nuget
uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: RotationSolver.Basic/RotationSolver.Basic.csproj
VERSION_FILE_PATH: Directory.Build.props
NUGET_KEY: ${{secrets.nuget_api_key}}

release:
name: release
needs: [release-please, build]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Download Build Artifact
uses: actions/download-artifact@v3

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release-please.outputs.upload_url }}
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
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "ECommons"]
path = ECommons
url = https://github.com/NightmareXIV/ECommons
31 changes: 0 additions & 31 deletions ActionTimeline.sln

This file was deleted.

102 changes: 0 additions & 102 deletions ActionTimeline/ActionTimeline.csproj

This file was deleted.

9 changes: 0 additions & 9 deletions ActionTimeline/ActionTimeline.json

This file was deleted.

26 changes: 0 additions & 26 deletions ActionTimeline/Helpers/DrawHelper.cs

This file was deleted.

Loading

0 comments on commit 1bf70e4

Please sign in to comment.