|
@ -30,12 +30,13 @@ jobs: |
|
|
Compress-Archive -Path $BUILD_DIR -DestinationPath $ZIP |
|
|
Compress-Archive -Path $BUILD_DIR -DestinationPath $ZIP |
|
|
- name: Build 7.x |
|
|
- name: Build 7.x |
|
|
run: | |
|
|
run: | |
|
|
$BUILD_DIR = "Sophia-PS7-" |
|
|
$BUILD_DIR = "Sophia-" |
|
|
if ($env:GITHUB_REF -eq "refs/heads/master") { |
|
|
if ($env:GITHUB_REF -eq "refs/heads/master") { |
|
|
$BUILD_DIR += "master" |
|
|
$BUILD_DIR += "master" |
|
|
} else { |
|
|
} else { |
|
|
$BUILD_DIR += ${env:GITHUB_REF} -replace ‘refs/tags/’, ‘’ |
|
|
$BUILD_DIR += ${env:GITHUB_REF} -replace ‘refs/tags/’, ‘’ |
|
|
} |
|
|
} |
|
|
|
|
|
$BUILD_DIR += "-PS7" |
|
|
$ZIP="$BUILD_DIR.zip" |
|
|
$ZIP="$BUILD_DIR.zip" |
|
|
mkdir $BUILD_DIR |
|
|
mkdir $BUILD_DIR |
|
|
echo $BUILD_DIR |
|
|
echo $BUILD_DIR |
|
@ -47,12 +48,13 @@ jobs: |
|
|
Compress-Archive -Path $BUILD_DIR -DestinationPath $ZIP |
|
|
Compress-Archive -Path $BUILD_DIR -DestinationPath $ZIP |
|
|
- name: Build LTSC |
|
|
- name: Build LTSC |
|
|
run: | |
|
|
run: | |
|
|
$BUILD_DIR = "Sophia-LTSC-" |
|
|
$BUILD_DIR = "Sophia-" |
|
|
if ($env:GITHUB_REF -eq "refs/heads/master") { |
|
|
if ($env:GITHUB_REF -eq "refs/heads/master") { |
|
|
$BUILD_DIR += "master" |
|
|
$BUILD_DIR += "master" |
|
|
} else { |
|
|
} else { |
|
|
$BUILD_DIR += ${env:GITHUB_REF} -replace ‘refs/tags/’, ‘’ |
|
|
$BUILD_DIR += ${env:GITHUB_REF} -replace ‘refs/tags/’, ‘’ |
|
|
} |
|
|
} |
|
|
|
|
|
$BUILD_DIR += "-LTSC" |
|
|
$ZIP="$BUILD_DIR.zip" |
|
|
$ZIP="$BUILD_DIR.zip" |
|
|
mkdir $BUILD_DIR |
|
|
mkdir $BUILD_DIR |
|
|
echo $BUILD_DIR |
|
|
echo $BUILD_DIR |
|
|