Skip to content

Build & Publish to Dynamis Testing #31

Build & Publish to Dynamis Testing

Build & Publish to Dynamis Testing #31

Workflow file for this run

name: Build & Publish to Dynamis Testing
on:
release:
types: [prereleased]
permissions:
actions: write
jobs:
Build:
runs-on: ubuntu-latest
env:
DALAMUD_HOME: /tmp/dalamud
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: true
- 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 AutoDuty/AutoDuty.csproj -p:AssemblyVersion=${{ github.ref_name }}
- name: Print Release Body
run: |
echo "${{ github.event.release.body }} AssemblyVersion=${{ github.ref_name }}"
- name: Publish Version
uses: PunishXIV/dynamis-action@v1
id: dynamis
with:
plugin_id: 54
internal_name: "AutoDuty"
version_number: ${{ github.ref_name }}
path: "AutoDuty/bin/Release/AutoDuty/latest.zip"
type: "testing"
dalamud_version: "10"
changelog: ${{ github.event.release.body }}
env:
PUBLISHER_KEY: ${{ secrets.PUBLISHER_KEY }}