mirror of
https://github.com/PepperDash/EssentialsPluginTemplate.git
synced 2026-07-02 08:38:14 +00:00
fix workflow to change master -> main
This commit is contained in:
parent
4b4148af02
commit
10c23fcd40
1 changed files with 3 additions and 3 deletions
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
|
|
@ -18,8 +18,8 @@ env:
|
|||
VERSION: 0.0.0-buildtype-buildnumber
|
||||
# Defaults to debug for build type
|
||||
BUILD_TYPE: Debug
|
||||
# Defaults to master as the release branch. Change as necessary
|
||||
RELEASE_BRANCH: master
|
||||
# Defaults to main as the release branch. Change as necessary
|
||||
RELEASE_BRANCH: main
|
||||
jobs:
|
||||
Build_Project:
|
||||
runs-on: windows-latest
|
||||
|
|
@ -38,7 +38,7 @@ jobs:
|
|||
git submodule sync --recursive
|
||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||
# Set the BUILD_TYPE environment variable
|
||||
- name: Set Build to Release if triggered from Master
|
||||
- name: Set Build to Release if triggered from main
|
||||
run: |
|
||||
if("$($Env:GITHUB_REF)".contains("$($Env:RELEASE_BRANCH)")) {
|
||||
Write-Host "Setting build type to Release"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue