|
1 | 1 | <!-- header:start --> |
2 | 2 |
|
3 | | -# GitHub Action: Resolve working directory |
| 3 | +#  GitHub Action: Working directory |
4 | 4 |
|
5 | 5 | <div align="center"> |
6 | | - <img src="../../.github/logo.svg" width="60px" align="center" alt="Resolve working directory" /> |
| 6 | + <img src="../../.github/logo.svg" width="60px" align="center" alt="Working directory" /> |
7 | 7 | </div> |
8 | 8 |
|
9 | 9 | --- |
|
51 | 51 | - name: Show resolved directory |
52 | 52 | run: echo "${{ steps.resolve-working-directory.outputs.working-directory }}" |
53 | 53 | ``` |
| 54 | +<!-- badges:start --> |
| 55 | + |
| 56 | +[](https://github.com/marketplace/actions/working-directory) |
| 57 | +[](https://github.com/hoverkraft-tech/ci-github-common/releases) |
| 58 | +[](http://choosealicense.com/licenses/mit/) |
| 59 | +[](https://img.shields.io/github/stars/hoverkraft-tech/ci-github-common?style=social) |
| 60 | +[](https://github.com/hoverkraft-tech/ci-github-common/blob/main/CONTRIBUTING.md) |
| 61 | + |
| 62 | +<!-- badges:end --> |
| 63 | +<!-- overview:start --> |
| 64 | + |
| 65 | +## Overview |
| 66 | + |
| 67 | +Action to resolve and validate a working directory path. |
| 68 | + |
| 69 | +<!-- overview:end --> |
| 70 | +<!-- usage:start --> |
| 71 | + |
| 72 | +## Usage |
| 73 | + |
| 74 | +```yaml |
| 75 | +- uses: hoverkraft-tech/ci-github-common/actions/working-directory@f24ce3360a8abf9bf386a62ab13d0ae5de5f9d13 # 0.31.7 |
| 76 | + with: |
| 77 | + # Relative or absolute working directory path to resolve. |
| 78 | + # Default: `.` |
| 79 | + working-directory: . |
| 80 | +``` |
| 81 | +
|
| 82 | +<!-- usage:end --> |
| 83 | +<!-- inputs:start --> |
| 84 | +
|
| 85 | +## Inputs |
| 86 | +
|
| 87 | +| **Input** | **Description** | **Required** | **Default** | |
| 88 | +| ----------------------- | ------------------------------------------------------- | ------------ | ----------- | |
| 89 | +| **`working-directory`** | Relative or absolute working directory path to resolve. | **false** | `.` | |
| 90 | + |
| 91 | +<!-- inputs:end --> |
| 92 | +<!-- secrets:start --> |
| 93 | +<!-- secrets:end --> |
| 94 | +<!-- outputs:start --> |
| 95 | + |
| 96 | +## Outputs |
| 97 | + |
| 98 | +| **Output** | **Description** | |
| 99 | +| ----------------------- | --------------------------------------------- | |
| 100 | +| **`working-directory`** | The resolved absolute working directory path. | |
| 101 | + |
| 102 | +<!-- outputs:end --> |
| 103 | +<!-- examples:start --> |
| 104 | +<!-- examples:end --> |
| 105 | +<!-- contributing:start --> |
| 106 | + |
| 107 | +## Contributing |
| 108 | + |
| 109 | +Contributions are welcome! Please see the [contributing guidelines](https://github.com/hoverkraft-tech/ci-github-common/blob/main/CONTRIBUTING.md) for more details. |
| 110 | + |
| 111 | +<!-- contributing:end --> |
| 112 | +<!-- security:start --> |
| 113 | +<!-- security:end --> |
| 114 | +<!-- license:start --> |
| 115 | + |
| 116 | +## License |
| 117 | + |
| 118 | +This project is licensed under the MIT License. |
| 119 | + |
| 120 | +SPDX-License-Identifier: MIT |
| 121 | + |
| 122 | +Copyright © 2026 hoverkraft |
| 123 | + |
| 124 | +For more details, see the [license](http://choosealicense.com/licenses/mit/). |
| 125 | + |
| 126 | +<!-- license:end --> |
| 127 | +<!-- generated:start --> |
| 128 | + |
| 129 | +--- |
| 130 | + |
| 131 | +This documentation was automatically generated by [CI Dokumentor](https://github.com/hoverkraft-tech/ci-dokumentor). |
| 132 | + |
| 133 | +<!-- generated:end --> |
0 commit comments