generated from goatcorp/SamplePlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
bfd7c60
commit 3a32227
Showing
4 changed files
with
52 additions
and
11 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
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Build and Publish | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*.*.*.*" | ||
|
||
jobs: | ||
Build: | ||
runs-on: ubuntu-latest | ||
env: | ||
DALAMUD_HOME: /tmp/dalamud | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Get Tag Name | ||
run: echo "tag=$(echo ${{ github.ref }} | sed 's/refs\/tags\/v//')" >> $GITHUB_ENV | ||
|
||
- name: Set up .NET | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- name: Download Dalamud Latest | ||
run: | | ||
wget https://goatcorp.github.io/dalamud-distrib/latest.zip -O ${{ env.DALAMUD_HOME }}.zip | ||
unzip ${{ env.DALAMUD_HOME }}.zip -d ${{ env.DALAMUD_HOME }} | ||
- name: Restore Project | ||
run: dotnet restore | ||
|
||
- name: Build Project | ||
run: dotnet build --configuration Release ChatContext/ChatContext.csproj -p:AssemblyVersion=${{ env.tag }} | ||
|
||
#- name: Publish Version | ||
# uses: PunishXIV/dynamis-action@v1 | ||
# id: dynamis | ||
# with: | ||
# plugin_id: x | ||
# internal_name: "ChatContext" | ||
# version_number: ${{ env.tag }} | ||
# path: "ChatContext/bin/Release/ChatContext/latest.zip" | ||
# type: "latest" | ||
# dalamud_version: "10" | ||
# env: | ||
# PUBLISHER_KEY: ${{ secrets.PUBLISHER_KEY }} |
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
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 |
---|---|---|
@@ -1,13 +1,12 @@ | ||
{ | ||
"Author": "Anya Hichu", | ||
"Name": "ChatContext", | ||
"Punchline": "Add sender target info in chat messages.", | ||
"Description": "Add sender target info in chat messages.", | ||
"Punchline": "Add sender target name in chat messages.", | ||
"Description": "Add sender target name in chat messages and displays nearly player targets", | ||
"ApplicableVersion": "any", | ||
"Tags": [ | ||
"chat", | ||
"context", | ||
"target" | ||
], | ||
"IconUrl": "https://raw.githubusercontent.com/anya-hichu/ChatContext/master/Data/icon.png" | ||
] | ||
} |