Simple workflow to get SSH access to MSYS2 on GitHub Actions runners using action-tmate.
- Click here to start a workflow (or go to Actions → main → Run workflow)
- Select your desired runner image, MSYS2 environment, and additional packages to install
- Click "Run workflow"
- Wait for the SSH connection information to appear in the logs
- Connect using the provided SSH command
You need to have an SSH public key registered on your GitHub account. Check if you have one at:
https://github.com/<your-username>.keys
If empty, add an SSH key to your GitHub account first.
Once connected, you can switch between MSYS2 environments:
. shell clang64