-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ steps: | |
uses: cloudnode-pro/[email protected] | ||
with: | ||
# See the ‘Inputs’ section below for details. | ||
gh-token: ${{ github.token }} | ||
release-id: 123456 # Optional for `release` events. | ||
files: | | ||
path/to/file.txt; type=text/plain; name=File1.txt | ||
|
@@ -20,6 +21,14 @@ steps: | |
## Inputs | ||
### `gh-token` | ||
|
||
The GitHub token to use for authentication. | ||
|
||
If you are uploading to a release in the same repository, you can use `${{github.token}}`, which is a secret | ||
generated by the workflow. Otherwise, you need to manually create a token, save it as a repository secret, and pass it | ||
using `${{secrets.NAME_OF_SECRET}}`. | ||
|
||
### `release-id` | ||
|
||
The ID of the release to which to upload files. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters