This repository has been archived by the owner on Nov 23, 2024. It is now read-only.
Merge pull request #208 from FFXIV-CombatReborn/VPR-UF-fixes #138
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: 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/RebornRotations.csproj | |
- name: Build Rotations | |
run: dotnet build --no-restore -c Release BasicRotations/RebornRotations.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/RebornRotations.dll | |
./build/RebornRotations.pdb | |
token: ${{ secrets.GITHUB_TOKEN }} | |