Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/test-install-script.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test Install Script

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
install:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: install
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export PATH="$HOME/.nest/bin:$PATH"
if !(type nest > /dev/null 2>&1); then
echo "nest is not installed. Installing..."
SCRIPT_URL="https://raw.githubusercontent.com/${GITHUB_REPOSITORY}/${GITHUB_HEAD_REF}/Scripts/install.sh"
echo "Script URL: $SCRIPT_URL"
curl -s $SCRIPT_URL | bash
fi
echo $PATH
ls -la $HOME
nest