File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4949 path : dist/sharp-layer.zip
5050 if-no-files-found : error
5151 - name : Create release
52- if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && steps.vars.outputs.release_exists == 'false' }}
52+ if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
5353 id : create_release
5454 uses : actions/create-release@v1
5555 env :
5959 release_name : Version ${{ steps.vars.outputs.sharp_version }}
6060 prerelease : ${{ contains(steps.vars.outputs.sharp_version, '-') }}
6161 - name : Upload release asset
62- if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && steps.vars.outputs.release_exists == 'false' }}
62+ if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
6363 id : upload_release_asset
6464 uses : actions/upload-release-asset@v1
6565 env :
6868 upload_url : ${{ steps.create_release.outputs.upload_url }}
6969 asset_path : dist/sharp-layer.zip
7070 asset_name : sharp-lambda-layer.zip
71- asset_content_type : application/zip
71+ asset_content_type : application/zip
You can’t perform that action at this time.
0 commit comments