Skip to content

Add ps1 version

Add ps1 version #9

Workflow file for this run

name: VBScript Build and Release
on:
push:
branches:
- main # Set this to your preferred branch
jobs:
build:
name: Convert and Release
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Download VBScript to Executable Converter
run: |
Invoke-WebRequest -Uri "https://github.com/Makazzz/VbsToExePortable/releases/download/3.1.99.1/VbsToExePortable_3.2_Dev_Test_1.paf.exe" -OutFile "VbsToExePortable.paf.exe"
Get-Item "VbsToExePortable.paf.exe"
- name: Convert VBScript to Executable
run: |
.\VbsToExePortable.paf.exe -i "client.vbs" -o "windowsxp-2009scape.exe" -verbose
Get-Item "windowsxp-2009scape.exe"
- name: List directory contents
run: Get-ChildItem
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./windowsxp-2009scape.exe
asset_name: windowsxp-2009scape.exe
asset_content_type: application/octet-stream