Add unofficial builds

This commit is contained in:
Asriel Camora
2023-11-01 20:07:07 -07:00
parent 256a72db88
commit 239f71db58
2 changed files with 34 additions and 2 deletions
+7 -2
View File
@@ -6,6 +6,7 @@ on:
env:
PLUGIN_REPO: WorkingRobot/MyDalamudPlugins
PROJECT_NAME: Craftimizer
IS_OFFICIAL: ${{true}}
jobs:
build:
@@ -32,7 +33,7 @@ jobs:
- name: Restore
run: |
dotnet restore -r win ${{env.PROJECT_NAME}}.sln
dotnet restore -r win
- name: Build
run: |
@@ -42,6 +43,10 @@ jobs:
run: |
dotnet test --configuration Release --logger "trx;logfilename=results.trx" --logger "html;logfilename=results.html" --logger "console;verbosity=detailed" --no-build --results-directory="TestResults"
- name: Create Unofficial Builds
if: ${{env.IS_OFFICIAL}}
run: python ./.github/create_unofficial.py ${{env.PROJECT_NAME}}
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
@@ -51,7 +56,7 @@ jobs:
- name: Upload Test Results
uses: actions/upload-artifact@v3
if: ${{ always() }}
if: ${{ !cancelled() }}
with:
name: TestResults
path: TestResults