Commit graph

160 commits

Author SHA1 Message Date
Loïc Albertin
674bcd2d67 Add release id to outputs (#60)
* Add release ID to outputs

* Update README
2021-07-25 19:51:58 -04:00
Maximilian Federle
6f63b4506e rebuild dist/index.js (#93)
Fixes #92
2021-07-25 19:51:18 -04:00
takmr
36fae76a5c use spaces instead tab (#87) 2021-07-25 19:51:15 -04:00
Caleb Maclennan
05d11c9fe8
Merge remote-tracking branch 'upstream/master' into default-token 2021-03-21 10:14:08 +03:00
erri120
1f8f474abe
Add upload_url as action output (#75)
* Add upload_url as action output

* Update README
2021-03-21 01:59:32 -04:00
David Aronchick
94651eb27f
Update README.md (#81) 2021-03-21 01:59:06 -04:00
A1lo
dac15d39e4
fix: Get the same behavior described in Docs(#71) (#85)
Now trying read body path first then falling back on body
2021-03-21 01:52:16 -04:00
Caleb Maclennan
7e3b173db6
Document use of token input parameter and deprecate env var 2021-03-16 07:50:23 +03:00
Caleb Maclennan
d5e4f508ae
Accept PAT as input and default to typically usable value 2021-03-16 07:50:02 +03:00
Alex Pearson
affa18ef97
Add repository input (#58) (#61) 2020-12-20 14:44:30 -05:00
pastdue
2cf5c66450
[Security] Bump node-fetch from 2.6.0 to 2.6.1 (#66)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. **This update includes a security fix.**
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-04 13:18:49 -05:00
pastdue
aabd85678e
[Security] Bump @actions/core from 1.2.0 to 1.2.6 (#68)
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.0 to 1.2.6. **This update includes a security fix.**
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-04 13:17:46 -05:00
David Kramer
4fb86a77e0
Add 'fail_on_unmatched_files' input (#55) 2020-06-25 02:11:41 -04:00
Igor Davydenko
9439581056
fix: Update to latest throttling plugin (#53)
In attempt to fix unintentional retries on 422 error from GitHub,

1. Update to latest `@octokit/plugin-throttling` version
2. Depend on `@octokit/plugin-retry` plugin as well

Issue: #52
2020-05-24 20:39:23 -04:00
Yan Yi Goh
9a89d1e63f
Docs: Fix spelling mistakes (#50)
* README: Fix spelling mistakes

* README: Rename OSX to macOS

* CONTRIBUTING: Fix spelling mistakes
2020-04-11 23:43:21 -04:00
softprops
91409e712c rebuild index 2020-01-26 19:36:03 -05:00
softprops
b238fd05b1 consolidate
consolidate changelog notes
2020-01-26 19:34:13 -05:00
softprops
a0dc82a74f add belated release note for 0.1.5 2020-01-26 19:31:05 -05:00
K.Takata
924757492e Make "npm run fmt(check)" work on Windows (#41)
On Windows, single quotes cannot be used for quoting command line.
Use double quotes instead.
2020-01-12 16:48:37 -05:00
K.Takata
9993ae8534 Fix mistake in #39 (#40)
It should be `github.ref` or `GITHUB_REF`.
2020-01-09 18:32:41 -05:00
K.Takata
9f4852ebe6 Add tag_name option (#39)
Allow setting tag name like actions/create-release.
2020-01-09 01:06:19 -05:00
softprops
b7e450da2a update readme 2020-01-05 18:05:29 -05:00
softprops
6195d81339 bump version 2020-01-05 18:04:21 -05:00
softprops
2803ccaf23 updated changelog 2020-01-05 18:03:54 -05:00
Doug Tangren
c66575c5e3
try ncc for packaging (#37)
* try ncc for packaging

* consistent

* newer checkout

* update dist

* update deps

* check style a different way
2020-01-05 18:00:23 -05:00
bomb-on
62eba970e0 Ability to update existing release body (#36)
* Ability to update existing release body

* Updated lib, fixed typo in workflow error message
2020-01-04 01:13:45 -05:00
纪阳
7a7960d4c7 Feat/upload (#34)
* feat: warn file invalid when upload

* build: update release shell

* update emoji

* build: compile main.js
2019-12-28 17:07:38 -05:00
Loïc Paulevé
d651ef48cb Only catch github API error (#32)
* move assignements out of try block

* include compiled code
2019-12-10 08:49:37 -05:00
Doug Tangren
37ae175992
Merge pull request #31 from skyfrk/patch-1
chore: remove note about github action beta
2019-11-14 16:53:30 -05:00
Simon Eßlinger
d31b44251d
chore: remove note about github action beta
As of 2019-11-13 GitHub Actions are out of beta!
See: https://github.blog/2019-11-13-universe-day-one/#github-actions
2019-11-14 18:54:21 +01:00
Doug Tangren
0e414c630a
Merge pull request #29 from softprops/0-1-4-release-prep
release prep
2019-10-20 19:13:36 -04:00
softprops
9a2319ecaf release prep 2019-10-20 18:15:51 -04:00
Doug Tangren
7363c39621
Merge pull request #26 from softprops/retry-api
retry api requests
2019-10-20 18:11:01 -04:00
softprops
742de9953a rebuild 2019-10-20 18:09:27 -04:00
softprops
e234343e3e rebuild and fmt 2019-10-20 18:04:32 -04:00
softprops
c99850e5d1 back to minimal set 2019-10-20 18:03:30 -04:00
softprops
845942e04a setup integration test 2019-10-20 17:50:51 -04:00
Christopher Sexton
1a522d88d8 Add the release HTML URL to outputs
This will allow subsequent actions to get access to the HTML URL for the
release created with this. Handy for composing multiple actions together
that are related to the release.

In my case I wanted to get the  URL into a slack message posted to the
team when a release is published.

The output can be referenced by using the `steps.release.ouput.url` in
the workflow yaml:

    - name: Release
      id: release
      uses: softprops/action-gh-release@v1
      with:
        name: "My Release"
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    - name: Slack
      uses: csexton/slack-message-action@v1
      with:
        message: New release posted at ${{ steps.release.outputs.url}}
2019-10-20 17:50:51 -04:00
Doug Tangren
56b4c8a8ef
Merge pull request #28 from csexton/output-url
Add the release HTML URL to outputs
2019-10-18 10:15:52 -04:00
Christopher Sexton
723bed634e Add the release HTML URL to outputs
This will allow subsequent actions to get access to the HTML URL for the
release created with this. Handy for composing multiple actions together
that are related to the release.

In my case I wanted to get the  URL into a slack message posted to the
team when a release is published.

The output can be referenced by using the `steps.release.ouput.url` in
the workflow yaml:

    - name: Release
      id: release
      uses: softprops/action-gh-release@v1
      with:
        name: "My Release"
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    - name: Slack
      uses: csexton/slack-message-action@v1
      with:
        message: New release posted at ${{ steps.release.outputs.url}}
2019-10-18 10:09:12 -04:00
softprops
2e7c800734 retry requests 2019-10-02 20:51:12 -04:00
softprops
6247f9299a update readme 2019-09-29 08:51:03 -04:00
softprops
5d578441a6 update changelog 2019-09-29 08:46:18 -04:00
softprops
42a316b84f sync body_path fmt 2019-09-29 08:45:47 -04:00
softprops
6ecc92f5ad bump version and update changelog 2019-09-29 08:25:51 -04:00
Doug Tangren
e7b71cc1a7
Merge pull request #23 from softprops/body_path_not_used
honor body_path input when provided.
2019-09-29 08:23:25 -04:00
softprops
f26a08096a commit latest build artifacts 2019-09-29 08:16:42 -04:00
softprops
ba42ad9139 honor body_path input when provided. fixes #22 2019-09-29 02:15:58 -04:00
softprops
07c8c20669 upgrade deps 2019-09-29 02:04:47 -04:00
softprops
00c56dd770 funding 2019-09-18 23:14:09 +09:00