Switch to poetry for project management #2
Workflow file for this run
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
# From https://github.com/vnc-tools/debug-on-mac. | |
# | |
# Set up the server for a VNC connection via ngrok. | |
name: macos_vnc | |
on: | |
workflow_dispatch: | |
pull_request: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build: | |
runs-on: macos-13 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setting the environment up. | |
env: | |
NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }} | |
VNC_USER_PASSWORD: password | |
VNC_PASSWORD: password | |
run: source .github/macos_vnc.sh "$VNC_USER_PASSWORD" "$VNC_PASSWORD" "$NGROK_AUTH_TOKEN" | |
- name: ngrok is now listening to VNC connections on... | |
run: curl --silent http://127.0.0.1:4040/api/tunnels | jq '.tunnels[0].public_url' | |
- name: Setup tmate session | |
uses: mxschmitt/action-tmate@v2 |