Browse Source

LTSC

pull/125/head
inv2004 4 years ago
parent
commit
1c533e8411
  1. 17
      .github/workflows/build.yml

17
.github/workflows/build.yml

@ -20,7 +20,6 @@ jobs:
} else {
$BUILD_DIR += ${env:GITHUB_REF} -replace ‘refs/tags/’, ‘’
}
# Get-ChildItem Env:
$ZIP="$BUILD_DIR.zip"
mkdir $BUILD_DIR
echo $BUILD_DIR
@ -37,7 +36,6 @@ jobs:
} else {
$BUILD_DIR += ${env:GITHUB_REF} -replace ‘refs/tags/’, ‘’
}
# Get-ChildItem Env:
$ZIP="$BUILD_DIR.zip"
mkdir $BUILD_DIR
echo $BUILD_DIR
@ -47,6 +45,21 @@ jobs:
del "$BUILD_DIR/PowerShell 7.x/"
iwr http://www.technosys.net/download.aspx?file=syspin.exe -OutFile $BUILD_DIR/syspin.exe
Compress-Archive -Path $BUILD_DIR -DestinationPath $ZIP
- name: Build LTSC
run: |
$BUILD_DIR = "Sophia-LTSC-"
if ($env:GITHUB_REF -eq "refs/heads/master") {
$BUILD_DIR += "master"
} else {
$BUILD_DIR += ${env:GITHUB_REF} -replace ‘refs/tags/’, ‘’
}
$ZIP="$BUILD_DIR.zip"
mkdir $BUILD_DIR
echo $BUILD_DIR
echo $ZIP
cp -R LTSC/* $BUILD_DIR
iwr http://www.technosys.net/download.aspx?file=syspin.exe -OutFile $BUILD_DIR/syspin.exe
Compress-Archive -Path $BUILD_DIR -DestinationPath $ZIP
- name: Upload to release
uses: svenstaro/upload-release-action@v2
with:

Loading…
Cancel
Save