Skip to content

Commit

Permalink
v2.24.1 3bc52b3
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Aug 3, 2024
1 parent 5df0ca6 commit ddf331a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,20 @@ If set to `warn`, simply log a message and skip the rest:
platform-check-severity: warn
```

### Outputs

#### msys2-location

The absolute path of the MSYS2 installation location. Example: `D:\a\_temp\msys64` or `C:\msys64`.

```yaml
- uses: msys2/setup-msys2@v2
id: msys2
- run: echo '${{ steps.msys2.outputs.msys2-location }}'
```

Available since v2.24.1

### Advanced Options

These options are rarely needed and shouldn't be used unless there is a good reason.
Expand Down Expand Up @@ -292,7 +306,7 @@ Specify an alternate location where to install MSYS2 to.
* Default: `true`

If `true` (the default) it makes a fresh install of the latest MSYS2 installer release.
If `false` it will try to re-use the [existing MSYS2 installation](https://github.com/actions/runner-images/blob/main/images/win/Windows2022-Readme.md#msys2) which is part of the official [GitHub Actions Runner Images](https://github.com/actions/runner-images).
If `false` it will try to re-use the [existing MSYS2 installation](https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md#msys2) which is part of the official [GitHub Actions Runner Images](https://github.com/actions/runner-images).

```yaml
- uses: msys2/setup-msys2@v2
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ inputs:
description: 'If caching should be used'
required: false
default: true
outputs:
msys2-location:
description: 'The absolute path of the MSYS2 installation location'
runs:
using: 'node20'
main: 'index.js'
4 changes: 2 additions & 2 deletions index.js

Large diffs are not rendered by default.

0 comments on commit ddf331a

Please sign in to comment.