forked from cli/cli
-
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
1 parent
528ea6e
commit 7f70a34
Showing
9 changed files
with
11,911 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copy relase to another repo | ||
|
||
**REMEMBER** | ||
**If you want your changes to be run, make sure you transpile your typescript with the `npm run build` command** | ||
|
||
This copies a relase from the repo the action is installed on to another repo. | ||
|
||
Add these inputs to your workflow yml file. | ||
|
||
``` | ||
UPLOAD_OWNER_NAME: some-org-or-user | ||
UPLOAD_REPO_NAME: the-repo-name | ||
``` | ||
|
||
Add this secret to your repo's secrets. It's a GitHub access token that has | ||
access to the repo described by the UPLOAD_OWNER_NAME/UPLOAD_REPO_NAME inputs. | ||
|
||
``` | ||
UPLOAD_GITHUB_TOKEN: ${{secrets.UPLOAD_GITHUB_TOKEN}} | ||
``` |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: 'Copy release to another repo' | ||
description: 'Copy a release from one repo to another' | ||
author: 'probablycorey' | ||
runs: | ||
using: 'node12' | ||
main: './lib/index.js' | ||
outputs: | ||
asset-url: | ||
description: The url of the asset that was copied |
Oops, something went wrong.