Skip to content

Commit

Permalink
Change name
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashdoughty committed Nov 12, 2019
1 parent e820ede commit 305de95
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 10 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const run = require('./logger');
const run = require('./output-event');

if (require.main === module) {
run();
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
25 changes: 16 additions & 9 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,22 @@ jobs:

- name: Get release event
id: get_release_event
uses: ./.github/actions/logger
uses: ./.github/actions/output-event

- name: Upload Release Asset
id: upload-release-asset
uses: actions/[email protected]
- name: Upload release
uses: yakuhzi/action-release@v1
with:
file: ./dist/my-artifact.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release_event.outputs.upload_url }}
asset_path: ./dist/my-artifact.zip
asset_name: my-artifact.zip
asset_content_type: application/zip

# - name: Upload Release Asset
# id: upload-release-asset
# uses: actions/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.get_release_event.outputs.upload_url }}
# asset_path: ./dist/my-artifact.zip
# asset_name: my-artifact.zip
# asset_content_type: application/zip

0 comments on commit 305de95

Please sign in to comment.