mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-19 15:51:45 +00:00
CakeBuild: Revert "task" -> "target"
CakeBuild always expects main task to be defined in "target" argument, see https://cakebuild.net/docs/writing-builds/running-targets
This commit is contained in:
1 parent
71e81fe3c7
commit
082a525e3b
3 files changed
+8
-8
No files matched your search
@@ -44,7 +44,7 @@ jobs:
|
||||
env:
|
||||
BEPIN_DEV_NUGET_KEY: ${{ secrets.BEPIN_DEV_NUGET_KEY }}
|
||||
run: |
|
||||
./build.sh --task=Pack --bleeding_edge=${{ steps.be_status.outputs.is_be == 'true' }} --build_id=${{ steps.info.outputs.build_id || 0 }} --last_build_commit=\"${{ steps.last_successful_commit.outputs.commit_hash }}\" --nuget_push_key=\"${BEPIN_DEV_NUGET_KEY}\"
|
||||
./build.sh --target=Pack --bleeding_edge=${{ steps.be_status.outputs.is_be == 'true' }} --build_id=${{ steps.info.outputs.build_id || 0 }} --last_build_commit=\"${{ steps.last_successful_commit.outputs.commit_hash }}\" --nuget_push_key=\"${BEPIN_DEV_NUGET_KEY}\"
|
||||
- name: Upload to BepisBuilds
|
||||
env:
|
||||
BEPISBUILDS_HOST: ${{ secrets.BEPISBUILDS_HOST }}
|
||||
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
dotnet-version: "6.0.x"
|
||||
- name: Build
|
||||
run: |
|
||||
./build.sh --task=Pack
|
||||
./build.sh --target=Pack
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v2.2.4
|
||||
with:
|
||||
|
||||
+6
-6
@@ -14,7 +14,7 @@ Clone this repository via `git clone https://github.com/BepInEx/BepInEx.git`.
|
||||
After that, run in the repository directory
|
||||
|
||||
```bat
|
||||
build.bat --task=Build
|
||||
build.bat --target=Build
|
||||
```
|
||||
|
||||
### Windows (PowerShell)
|
||||
@@ -23,7 +23,7 @@ Clone this repository via `git clone https://github.com/BepInEx/BepInEx.git`.
|
||||
After that, run in the repository directory
|
||||
|
||||
```ps
|
||||
./build.ps1 --task=Build
|
||||
./build.ps1 --target=Build
|
||||
```
|
||||
|
||||
Make sure you have the execution policy set to enable running scripts.
|
||||
@@ -34,14 +34,14 @@ Clone this repository via `git clone https://github.com/BepInEx/BepInEx.git`.
|
||||
After that, run in the repository directory
|
||||
|
||||
```sh
|
||||
./build.sh --task=Build
|
||||
./build.sh --target=Build
|
||||
```
|
||||
|
||||
### Additional build tasks
|
||||
### Additional build targets
|
||||
|
||||
The build script provides the following build tasks (that you can pass via the `task` parameter)
|
||||
The build script provides the following build targets (that you can pass via the `target` parameter)
|
||||
|
||||
| Task | Description |
|
||||
| Target | Description |
|
||||
| ------------- | ------------------------------------------------------------------------ |
|
||||
| `Build` | Pulls dependencies and builds BepInEx |
|
||||
| `MakeDist` | Runs `Build` and creates distributable packages into `bin/dist` folder |
|
||||
|
||||
Reference in new issue
Block a user