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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
- name: Create node20 compatibility tag for GHES
run: |
git checkout --detach HEAD
sed -i "s/using: 'node24'/using: 'node20'/" action.yml upload/action.yml download/action.yml go-publish/action.yml
git add action.yml upload/action.yml download/action.yml go-publish/action.yml
sed -i "s/using: 'node24'/using: 'node20'/" action.yml upload/action.yml download/action.yml go-publish/action.yml distribute/action.yml
git add action.yml upload/action.yml download/action.yml go-publish/action.yml distribute/action.yml
git commit -m "chore: node20 compatibility for GHES (auto-generated)"
git tag -f v$MAJOR-node20
git push origin v$MAJOR-node20 --force
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
Comment thread
igalsi-t marked this conversation as resolved.
"semi": true,
"singleQuote": false,
"printWidth": 80,
"trailingComma": "all"
}
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: >
Downloads the Fly CLI automatically from releases.jfrog.io.
After setup, the fly CLI is available on PATH and FLY_URL / FLY_ACCESS_TOKEN
are exported for subsequent steps.
Use jfrog/fly-action/upload and jfrog/fly-action/download sub-actions
to transfer generic artifacts.
Use jfrog/fly-action/upload, jfrog/fly-action/download, and
jfrog/fly-action/distribute sub-actions for generic artifacts.
author: 'JFrog'

inputs:
Expand Down
27 changes: 27 additions & 0 deletions distribute/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 'Fly Distribute'
description: 'Make generic artifact versions publicly downloadable. Requires jfrog/fly-action to have run first for authentication.'
author: 'JFrog'

inputs:
artifacts:
description: 'Comma-separated list of "name:version" pairs to distribute (e.g., "my-app:1.0.0, my-lib:2.3.1")'
Comment thread
igalsi-t marked this conversation as resolved.
required: true
type:
description: 'Package type for distributed artifacts (default: generic)'
required: false
default: 'generic'

outputs:
results:
description: >
JSON array of successfully distributed artifacts. On partial failure, this
still contains the entries that were distributed — inspect the action's
exit status to detect failures. Schema differs from upload/download
(which emit FlyClientResult[] = {name, status, message}).
Each entry: {package_name, package_version, package_type, public_url,
download_url, download_count}.

Comment thread
igalsi-t marked this conversation as resolved.
runs:
# node24 for GitHub.com. GHES users: use jfrog/fly-action@v1-node20
using: 'node24'
Comment thread
igalsi-t marked this conversation as resolved.
main: '../lib/distribute.js'
Loading
Loading