Skip to content

Commit 7f70a34

Browse files
probablycoreymislav
authored andcommitted
Publish release for git tag
1 parent 528ea6e commit 7f70a34

9 files changed

Lines changed: 11911 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copy relase to another repo
2+
3+
**REMEMBER**
4+
**If you want your changes to be run, make sure you transpile your typescript with the `npm run build` command**
5+
6+
This copies a relase from the repo the action is installed on to another repo.
7+
8+
Add these inputs to your workflow yml file.
9+
10+
```
11+
UPLOAD_OWNER_NAME: some-org-or-user
12+
UPLOAD_REPO_NAME: the-repo-name
13+
```
14+
15+
Add this secret to your repo's secrets. It's a GitHub access token that has
16+
access to the repo described by the UPLOAD_OWNER_NAME/UPLOAD_REPO_NAME inputs.
17+
18+
```
19+
UPLOAD_GITHUB_TOKEN: ${{secrets.UPLOAD_GITHUB_TOKEN}}
20+
```
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: 'Copy release to another repo'
2+
description: 'Copy a release from one repo to another'
3+
author: 'probablycorey'
4+
runs:
5+
using: 'node12'
6+
main: './lib/index.js'
7+
outputs:
8+
asset-url:
9+
description: The url of the asset that was copied

0 commit comments

Comments
 (0)