Update installation script and environment variables #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: macOS | |
on: | |
push: | |
branches: main | |
paths-ignore: | |
- 'README.md' | |
pull_request: | |
branches: main | |
paths-ignore: | |
- 'README.md' | |
jobs: | |
macOS: | |
name: macOS | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup SSH | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: | | |
${{ secrets.SSH_PRIVATE_KEY }} | |
- name: install just | |
env: | |
INSTALL_DIR: $HOME/.local/bin | |
run: | | |
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to $INSTALL_DIR | |
export PATH="$INSTALL_DIR:$PATH" | |
- name: Setup | |
run: just mac | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |