Skip to content

Commit bb256b8

Browse files
add upload to s3 capability
1 parent 9b004e7 commit bb256b8

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/actions/publish_asset_to_s3/action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
name: Publish Python
3-
description: "Publish Assets and Report"
2+
name: Publish Release Asset to S3
3+
description: "Publish Asset to S3"
44
inputs:
55
version:
66
description: "The published version"
@@ -13,7 +13,9 @@ inputs:
1313
required: true
1414
dry_run:
1515
description: "Whether this is a dry run"
16-
required: true
16+
required: false
17+
type: boolean
18+
default: false
1719

1820
runs:
1921
using: composite

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ jobs:
7373
run: |
7474
ls ${{ env.S3_ASSETS }}
7575
cat ${{ env.S3_ASSETS }}/sarif-report.json
76-
76+
7777
- name: actions/publish_asset_to_s3
7878
uses: ./.github/actions/publish_asset_to_s3
7979
with:
8080
version: v6.5.0
8181
product_name: js-bson-development
8282
files: sarif-report.json
83-
dry_run: false
83+
dry_run: true

0 commit comments

Comments
 (0)