Skip to content

IcWa - Fixed typo error #11

IcWa - Fixed typo error

IcWa - Fixed typo error #11

Workflow file for this run

name: publish
on:
push:
tags:
- '*.*.*.*'
jobs:
build_and_test:
runs-on: windows-latest
steps:
- name: Get Environment Variables
run: |
$tag = "${{ github.ref }}" -replace 'refs/tags/', ''
"tag=$tag" | Out-File -Append -FilePath $Env:GITHUB_ENV
- name: Setup .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/stg/latest.zip -OutFile latest.zip
Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev"
- uses: actions/checkout@v2
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore -p:AssemblyVersion=${{ env.tag }}
- name: Zip Plugin
run: Compress-Archive -Path .\bin\Debug\net8.0-windows\* -DestinationPath .\bin\EasyZoomReborn.zip
- name: Publish Plugin
uses: softprops/action-gh-release@v2
with:
files: ./bin/EasyZoomReborn.zip
token: ${{ secrets.GITHUB_TOKEN }}