You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use this action if you need to get a file from a base64-encoded string that you may be storing in Secrets or elsewhere. This can be useful for certificate signing and storing the base64 cert in the Secrets.
4
4
@@ -7,8 +7,25 @@ Use this action if you need to get a file from a base64-encoded string that you
7
7
```
8
8
- name: Run Workflow
9
9
id: write_file
10
-
uses: ./
10
+
uses: timheuer/base64-to-file@v1
11
11
with:
12
12
fileName: 'myTemporaryFile.txt'
13
13
encodedString: ${{ secrets.SOME_ENCODED_STRING }}
14
+
```
15
+
16
+
## Using the file in a later step
17
+
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.
0 commit comments