Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ inputs:
s3_bucket:
description: S3 bucket name
required: true
fileserver_url:
description: URL used by clients to download content from the file server
required: false
default: "https://qli-prod-artifacts.qualcomm.com"
outputs:
url:
description: "URL where objects are available at"

runs:
using: docker
Expand Down
3 changes: 3 additions & 0 deletions publish_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ fi
# Step 2: Upload artifacts
aws s3 cp "$INPUT_PATH" "s3://$INPUT_S3_BUCKET/$INPUT_DESTINATION" --recursive --progress-frequency 30

# Step 3: Publish fileserver URL containing the artifacts
output_file="${GITHUB_OUTPUT}"
echo "url=${INPUT_FILESERVER_URL}/${INPUT_S3_BUCKET}/${INPUT_DESTINATION}/" >> ${output_file}