This repository has been archived by the owner on Aug 13, 2024. It is now read-only.
Implementing New Repository Warning. #87
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
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: .NET Build | |
on: | |
push: | |
branches: | |
- main | |
- structureRework | |
tags-ignore: '*' | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
submodules: true | |
- name: Setup .NET | |
uses: actions/[email protected] | |
with: | |
dotnet-version: '7.x.x' | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Download Dalamud | |
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\" | |
- name: Build | |
run: | | |
dotnet build --no-restore --configuration Release --nologo | |
- name: Rename file | |
run: mv ${{ github.workspace }}/CustomizePlus/bin/x64/Release/CustomizePlus/latest.zip ${{ github.workspace }}/CustomizePlus/bin/x64/Release/CustomizePlus/CustomizePlus.zip | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
path: | | |
${{ github.workspace }}/CustomizePlus/bin/x64/Release/ |