Skip to content

Commit 9e80a8d

Browse files
committed
Updated gh action
1 parent 92ff8e1 commit 9e80a8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker-workflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
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:
@@ -59,7 +59,7 @@ jobs:
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:
@@ -68,4 +68,4 @@ jobs:
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

0 commit comments

Comments
 (0)