Skip to content

Commit

Permalink
feat: add windows-usable install.ps1 and uninstall.ps1 (#428)
Browse files Browse the repository at this point in the history
* feat: add windows-usable install.ps1 and uninstall.ps1

* feat: remove windows installation check,cause there is no windows binary for now
  • Loading branch information
healthjyk authored Feb 29, 2024
1 parent c15ca74 commit 5eae111
Show file tree
Hide file tree
Showing 6 changed files with 276 additions and 217 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,24 @@ jobs:
- name: brew install kusion
run: brew install KusionStack/tap/kusion
shell: bash -ieo pipefail {0}
#check-powershell-on-windows:
#runs-on: windows-latest
#steps:
#- uses: actions/checkout@v3
#- name: check install script
# run: static/scripts/install.ps1
# shell: powershell
#- name: check kusion run
# run: C:\kusion\kusion.exe compile -w static/stack -o stdout
# shell: powershell
check-scoop-on-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: scoop install kusion
run: |
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
scoop bucket add KusionStack https://github.com/KusionStack/scoop-bucket.git
scoop install KusionStack/kusion
# kusion compile -w static/stack -o stdout
shell: powershell
# check-powershell-on-windows:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v3
# - name: check install script
# run: static/scripts/install.ps1
# shell: powershell
# - name: check kusion run
# run: C:\kusion\kusion.exe compile -w static/stack -o stdout
# shell: powershell
# check-scoop-on-windows:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v3
# - name: scoop install kusion
# run: |
# iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
# scoop bucket add KusionStack https://github.com/KusionStack/scoop-bucket.git
# scoop install KusionStack/kusion
# # kusion compile -w static/stack -o stdout
# shell: powershell
167 changes: 0 additions & 167 deletions static/scripts/install-kusion.ps1

This file was deleted.

Loading

0 comments on commit 5eae111

Please sign in to comment.