diff --git a/.github/workflows/check_lint_build.yaml b/.github/workflows/check_lint_build.yaml index 99b38e7..49d77f3 100644 --- a/.github/workflows/check_lint_build.yaml +++ b/.github/workflows/check_lint_build.yaml @@ -180,6 +180,15 @@ jobs: with: tag: ${{ github.ref_name }} + - name: Create zip files for releases.drivechain.info + run: | + mv bitassets-*-x86_64-apple-darwin bitassets-latest-x86_64-apple-darwin + zip L2-S4-BitAssets-latest-x86_64-apple-darwin.zip bitassets-latest-x86_64-apple-darwin + mv bitassets-*-x86_64-pc-windows-gnu.exe bitassets-latest-x86_64-pc-windows-gnu.exe + zip L2-S4-BitAssets-latest-x86_64-pc-windows-gnu.zip bitassets-latest-x86_64-pc-windows-gnu.exe + mv bitassets-*-x86_64-unknown-linux-gnu bitassets-latest-x86_64-unknown-linux-gnu + zip L2-S4-BitAssets-latest-x86_64-unknown-linux-gnu.zip bitassets-latest-x86_64-unknown-linux-gnu + - name: Upload release assets to releases.drivechain.info uses: cross-the-world/ssh-scp-ssh-pipelines@latest with: @@ -188,6 +197,4 @@ jobs: pass: ${{ secrets.RELEASES_SERVER_PW }} port: 22 scp: | - 'bitassets-*-x86_64-apple-darwin' => '/var/www/html/L2-BitAssets-latest-x86_64-apple-darwin' - 'bitassets-*-x86_64-pc-windows-gnu.exe' => '/var/www/html/L2-BitAssets-latest-x86_64-pc-windows-gnu.exe' - 'bitassets-*-x86_64-unknown-linux-gnu' => '/var/www/html/L2-BitAssets-latest-x86_64-unknown-linux-gnu' + 'L2-S4-BitAssets-latest-*.zip' => '/var/www/html/'