Commit Graph

13 Commits

Author SHA1 Message Date
eb443bd494 feat: avoid redundant binary downloads and notify when skipping (#210)
Some checks failed
v1 version / test deploy artifact (push) Failing after 3s
v1 version / test changed-files (push) Failing after 3s
v1 version / test Multiple Host (push) Failing after 2s
lint and test / test scp action (push) Failing after 2s
lint and test / test changed-files (push) Failing after 2s
lint and test / test target folder (push) Failing after 2s
v1 version / test scp action (push) Failing after 7m27s
v1 version / test target folder (push) Failing after 8m55s
lint and test / test deploy artifact (push) Failing after 10m24s
lint and test / test Multiple Host (push) Failing after 10m52s
* feat: avoid redundant binary downloads and notify when skipping

- Skip downloading the binary if it already exists, and print a message instead

Signed-off-by: appleboy <appleboy.tw@gmail.com>

* Update entrypoint.sh

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Signed-off-by: appleboy <appleboy.tw@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-31 10:31:45 +08:00
6aff6492ae chore: bump default DRONE_SCP_VERSION to 1.8.0
- Update the default DRONE_SCP_VERSION from 1.7.0 to 1.8.0

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-04-27 12:41:00 +08:00
98b7132065 feat: migrate to composite action with dynamic drone-scp support (#197)
- Remove Dockerfile and switch the action implementation from Docker to composite actions
- Add support for specifying the drone-scp version and automatically download the appropriate binary at runtime
- Add new inputs: curl_insecure, capture_stdout, and version for improved flexibility and output handling
- Add output for capturing standard output from executed commands when enabled
- entrypoint.sh refactored from sh to bash and made more robust with error handling, dynamic platform/architecture detection, and secure downloading of the binary
- Action now works cross-platform rather than being tied to a specific Docker image

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-04-27 10:38:00 +08:00
ddd9176502 remove unused flag
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-05-22 09:45:56 +08:00
e506e72e83 remove debug message
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-28 12:45:17 +08:00
bd7b71696a debug
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-28 12:43:06 +08:00
b1b9ed628c docs: update default value 2019-09-28 12:41:21 +08:00
f1b7ce641c update INPUT_STRIP_COMPONENTS
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-28 12:37:22 +08:00
722d935a90 update INPUT_STRIP_COMPONENTS
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-28 12:34:38 +08:00
2ef3f5e459 chore: check timeout variable 2019-09-28 11:40:28 +08:00
f0de4fea6f chore: add default timeout 2019-09-28 11:37:34 +08:00
1af1019273 chore: update drone scp command 2019-05-11 20:30:07 +08:00
7b4ff3269b feat: initial 2019-05-11 17:01:31 +08:00