Build & Publish to Dynamis Testing #18
Workflow file for this run
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
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 }}" | |
- 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 }} |