Add unofficial builds
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user