forked from hipsch6754v/v
-
Notifications
You must be signed in to change notification settings - Fork 0
24 lines (23 loc) · 805 Bytes
/
Copy pathmacos.yml
File metadata and controls
24 lines (23 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: MacOS Virtual Machine
on:
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
build:
name: MacOS Build
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Setting Up the MacOS Environment
env:
NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}
MAC_USER_PASSWORD: ${{ secrets.MAC_USER_PASSWORD }}
VNC_PASSWORD: ${{ secrets.VNC_PASSWORD }}
MAC_REALNAME: ${{ secrets.MAC_REALNAME }}
run: source macos-run.sh "$MAC_USER_PASSWORD" "$VNC_PASSWORD" "$NGROK_AUTH_TOKEN" "$MAC_REALNAME"
- name: Connecting MacOS with Ngrok to VNC Server
run: curl --silent http://127.0.0.1:4040/api/tunnels | jq '.tunnels[0].public_url'
- name: Keep Running MacOS System and keepAlive
uses: mxschmitt/action-tmate@v2