Skip to content

Commit 3ff91d2

Browse files
committed
Updating documentation
1 parent 83c4b96 commit 3ff91d2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Use this action if you need to get a file from a base64-encoded string that you
1515
fileName: 'myTemporaryFile.txt'
1616
encodedString: ${{ secrets.SOME_ENCODED_STRING }}
1717
```
18-
18+
By default this writes the `fileName` to a temporary path defined by `env.RUNNER_TEMP`. If you want a different path that is writable, specify `fileDir` as an input argument as well and then `fileDir` and `fileName` will be combined to create the path where the output will be written. This assumes permissions in the `fileDir` are correct and does not try to set them.
1919
## Using the file in a later step
2020
The Action has an output variable named filePath that you can use as this file is written to TEMP. Make sure you ad an `id` to your step when using this Action so that you can easily pull it out of the steps context later.
2121

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "base64-to-file",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "base64 encoded string to a file",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)