enable vnc on branch #7
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
# https://github.com/dikeckaan/MacOS-Workflow-VNC | |
name: mac-vnc | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'qt6-frameserver' | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setting the environment up. | |
env: | |
NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }} | |
VNC_USER_PASSWORD: ${{ secrets.VNC_USER_PASSWORD }} | |
VNC_PASSWORD: ${{ secrets.VNC_PASSWORD }} | |
run: source .github/workflows/configure-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 |