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

Merge pull request #33 from FFXIV-CombatReborn/Beta-Fixes #14

Merge pull request #33 from FFXIV-CombatReborn/Beta-Fixes

Merge pull request #33 from FFXIV-CombatReborn/Beta-Fixes #14

Workflow file for this run

name: Publish
on:
push:
tags:
- '*.*.*.*'
jobs:
Build:
permissions:
contents: write
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Get Environment Variables
run: |
$tag = "${{ github.ref }}" -replace 'refs/tags/', ''
"tag=$tag" | Out-File -Append -FilePath $Env:GITHUB_ENV
- name: Set up .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Download Dalamud Latest
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: Restore Nuget Packages
run: dotnet restore BasicRotations/DefaultRotations.csproj
- name: Build Rotations
run: dotnet build --no-restore -c Release BasicRotations/DefaultRotations.csproj -p:AssemblyVersion=${{ env.tag }} -p:FileVersion=${{ env.tag }} -p:InformationalVersion=${{ env.tag }} --output .\build
- name: Publish Rotations
uses: softprops/action-gh-release@v2
with:
files: |
./build/DefaultRotations.dll
./build/DefaultRotations.pdb
token: ${{ secrets.GITHUB_TOKEN }}