41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
jobs:
|
|
Build:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
DALAMUD_HOME: /tmp/dalamud
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up .NET
|
|
uses: actions/setup-dotnet@v3
|
|
with:
|
|
dotnet-version: 10.0.x
|
|
|
|
- name: Download Dalamud Latest
|
|
run: |
|
|
wget https://kamori.goats.dev/File/Get/ad4daeb959d7549f9cc8ba721cddc84e5382819a37ff38bfb9439a9e4fd3fb7d -O ${{ env.DALAMUD_HOME }}.zip
|
|
unzip ${{ env.DALAMUD_HOME }}.zip -d ${{ env.DALAMUD_HOME }}
|
|
|
|
- name: Restore Project
|
|
run: dotnet restore
|
|
|
|
- name: Build Project
|
|
run: dotnet build --configuration Release SpotifyHonorific/SpotifyHonorific.csproj
|
|
|
|
- name: Upload Artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: SpotifyHonorific
|
|
path: |
|
|
SpotifyHonorific/bin/Release/*
|
|
!SpotifyHonorific/bin/Release/SpotifyHonorific/*
|