Skip to content

Commit 21a5629

Browse files
authored
Update README.md with new input
1 parent c25b2ce commit 21a5629

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,24 @@ jobs:
208208
install-dependencies: false
209209
```
210210

211+
## Use a different MSYS2 location
212+
213+
If you want to integrate with the msys2/setup-msys2 action or otherwise don't have an MSYS2 installation at `C:\msys64`, you can specify a different location for MSYS2:
214+
215+
```yaml
216+
name: CI
217+
on: [push]
218+
jobs:
219+
build:
220+
runs-on: windows-latest
221+
steps:
222+
- uses: msys2/setup-msys2@v2
223+
id: setup-msys2
224+
- uses: mxschmitt/action-tmate@v3
225+
with:
226+
msys2-location: ${{ steps.setup-msys2.outputs.msys2-location }}
227+
```
228+
211229
## Continue a workflow
212230

213231
If you want to continue a workflow and you are inside a tmate session, just create a empty file with the name `continue` either in the root directory or in the project directory by running `touch continue` or `sudo touch /continue` (on Linux).

0 commit comments

Comments
 (0)