Browse Source

ps5 suffix

pull/125/head
inv2004 4 years ago
parent
commit
45f6e2889a
  1. 15
      .github/workflows/build.yml

15
.github/workflows/build.yml

@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Build 5.x - name: Build 5.x
run: | run: |
$BUILD_DIR = "Sophia-" $BUILD_DIR = "Sophia-ps5-"
if ($env:GITHUB_REF -eq "refs/heads/master") { if ($env:GITHUB_REF -eq "refs/heads/master") {
$BUILD_DIR += "master" $BUILD_DIR += "master"
} else { } else {
@ -27,20 +27,9 @@ jobs:
echo $ZIP echo $ZIP
cp -R Sophia/* $BUILD_DIR cp -R Sophia/* $BUILD_DIR
del -Force -Recurse "$BUILD_DIR/PowerShell 7.x" del -Force -Recurse "$BUILD_DIR/PowerShell 7.x"
# gci -Recurse $BUILD_DIR | select FullName
iwr http://www.technosys.net/download.aspx?file=syspin.exe -OutFile $BUILD_DIR/syspin.exe iwr http://www.technosys.net/download.aspx?file=syspin.exe -OutFile $BUILD_DIR/syspin.exe
Compress-Archive -Path $BUILD_DIR -DestinationPath $ZIP Compress-Archive -Path $BUILD_DIR -DestinationPath $ZIP
# - name: Create Release - name: Upload to release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ github.ref }}
# release_name: Release ${{ github.ref }}
# draft: false
# prerelease: true
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2 uses: svenstaro/upload-release-action@v2
with: with:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}

Loading…
Cancel
Save