diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa3fe549..63d56342 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v2 - name: Build 5.x run: | - $BUILD_DIR = "Sophia-" + $BUILD_DIR = "Sophia-ps5-" if ($env:GITHUB_REF -eq "refs/heads/master") { $BUILD_DIR += "master" } else { @@ -27,20 +27,9 @@ jobs: echo $ZIP cp -R Sophia/* $BUILD_DIR 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 Compress-Archive -Path $BUILD_DIR -DestinationPath $ZIP - # - name: Create 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 + - name: Upload to release uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }}