This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
Update RDM_Default.PvP.cs #21
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/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 }} | |