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

Commit

Permalink
test publish change
Browse files Browse the repository at this point in the history
  • Loading branch information
LTS-FFXIV authored Sep 13, 2024
1 parent 1993e15 commit 2b26f37
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,28 @@ jobs:
submodules: recursive

- name: Get Environment Variables
run: |
$tag = "${{ github.ref }}" -replace 'refs/tags/', ''
run: echo "tag=${{ github.ref_name }}" >> $GITHUB_ENV

"tag=$tag" | Out-File -Append -FilePath $Env:GITHUB_ENV
- name: Set up .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
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"
if ($?) {
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev"
} else {
Write-Error "Failed to download Dalamud Latest"
exit 1
}
- 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
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
Expand All @@ -43,4 +45,3 @@ jobs:
./build/RebornRotations.dll
./build/RebornRotations.pdb
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2b26f37

Please sign in to comment.