-
-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support different output folder for CI builds
- Loading branch information
1 parent
4768223
commit 63e87db
Showing
5 changed files
with
64 additions
and
44 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
|
||
# We *only* want to run this if a collaborator or owner of the repo approves a pull request, or if something is merged into the main branch | ||
if: ${{ github.event.ref == 'refs/heads/master' || (github.event.review.state == 'approved' && (github.event.review.author_association == 'COLLABORATOR' || github.event.review.author_association == 'OWNER')) }} | ||
runs-on: dsp-installed | ||
runs-on: windows-latest | ||
|
||
env: | ||
Solution_Name: Nebula.sln | ||
|
@@ -29,7 +29,10 @@ jobs: | |
|
||
- name: Clear output directory in DSP files | ||
# We use SilentlyContinue here because it errors out if the folder does not exist otherwise | ||
run: rm -R -ErrorAction SilentlyContinue "C:\Program Files (x86)\Steam\steamapps\common\Dyson Sphere Program\BepInEx\plugins\Nebula" | ||
run: rm -R -ErrorAction SilentlyContinue "dist\release\nebula" | ||
|
||
- name: Add remote build identifier | ||
run: New-Item -Name .remoteBuild -ItemType File -force | ||
|
||
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild | ||
- name: Setup MSBuild.exe | ||
|
@@ -43,8 +46,8 @@ jobs: | |
|
||
# Upload it to the run results | ||
- name: Upload a Build Artifact | ||
uses: actions/[email protected].3 | ||
uses: actions/[email protected].4 | ||
with: | ||
# Artifact name | ||
name: build-artifacts-${{ matrix.configuration }} | ||
path: C:\Program Files (x86)\Steam\steamapps\common\Dyson Sphere Program\BepInEx\plugins\Nebula | ||
path: dist\release\nebula |
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 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 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