Skip to content

Commit 94a63e8

Browse files
committed
Experiment with dist
1 parent 466fe9f commit 94a63e8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/lambda-runner-binaries-syncer.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ jobs:
4141
# if: startsWith(github.ref, 'refs/tags/')
4242

4343
steps:
44+
- name: Create Release
45+
id: create_release
46+
uses: actions/create-release@latest
47+
env:
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
49+
with:
50+
tag_name: ${{ github.ref }}
51+
release_name: Release ${{ github.ref }}
52+
draft: true
53+
prerelease: true
4454
- uses: actions/checkout@v2
4555
- name: Extract tag name
4656
id: tag_name
@@ -71,5 +81,5 @@ jobs:
7181
with:
7282
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
7383
asset_path: ${{ env.lambda_name }}.zip
74-
asset_name: parser-${{ steps.tag_name.outputs.TAG }}.zip
84+
asset_name: ${{ env.lambda_name }}-${{ steps.tag_name.outputs.TAG }}.zip
7585
asset_content_type: application/zip

0 commit comments

Comments
 (0)