RepositoryJavaScriptPLBa Lan
dawidd6

dawidd6/action-download-artifact

:gear: GitHub Action for downloading artifacts associated with given criteria

834sao
238fork
3issue
5lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: commit

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: artifact

#1 Repository của tháng

2
TINIX TRENDING·Chủ đề: action

#2 Repository của tháng

🔽 Tải artifact GitHub Action từ workflow khác một cách dễ dàng

Tải và giải nén artifact từ bất kỳ workflow nào, kể cả workflow khác, chỉ với tên workflow và commit SHA.

action-download-artifact là GitHub Action cho phép tải và giải nén các artifact đã được tải lên bởi workflow khác hoặc cùng workflow nhưng ở run khác. Điều này hữu ích khi bạn cần sử dụng artifact từ workflow trước trong workflow hiện tại, điều mà actions/download-artifact chưa hỗ trợ.

✨ Điểm nổi bật

  • Tải từ workflow khác: Chỉ cần biết tên workflow và commit SHA, có thể tải artifact từ workflow khác liên quan đến commit đó.
  • Tìm kiếm linh hoạt: Hỗ trợ tìm kiếm theo workflow, commit, pr, branch, ref, run_id, workflow_conclusion, event, run_number.
  • Hỗ trợ regex tên artifact: Dùng name_is_regexp: true để tải artifact theo tên khớp regex.
  • Tùy chọn giải nén: Có thể bỏ qua giải nén bằng skip_unpack hoặc dùng unzip hệ thống với use_unzip.
  • Xử lý khi không có artifact: Cấu hình hành vi khi không tìm thấy bằng if_no_artifact_found (fail/warn/ignore).
  • Hỗ trợ fork: Bật allow_forks để tìm kiếm artifact từ các fork.
  • Gợi ý workflow mặc định: Nếu không chỉ định, sẽ tải artifact từ run thành công gần nhất.
  • Tương thích self-hosted runner: Lưu ý với v3 cần glibc ≥ 2.28, nếu cũ hơn dùng v2.

💡 Vì sao đáng chú ý

Khác với actions/download-artifact chỉ tải artifact trong cùng workflow, action này cho phép truy cập artifact từ bất kỳ workflow nào trong repo, rất hữu ích cho pipeline phức tạp. Ví dụ: workflow kiểm thử chạy trên commit khác, workflow triển khyến cần artifact build từ workflow khác — đều có thể xử lý chỉ bằng vài dòng cấu hình.


#GitHubActions #Artifact #Download #Workflow #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryTypeScript
n8n-io/n8n

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

212.9k
Dec 2, 2026
RepositoryJavaScript
pomber/git-history

Quickly browse the history of a file from any git repository

13.7k
Oct 10, 2024
RepositoryJavaScript
mxschmitt/action-tmate

Debug your GitHub Actions via SSH by using tmate to get access to the runner system itself.

3.6k
Nov 6, 2026
RepositoryJavaScript
gitleaks/gitleaks-action

Protect your secrets using Gitleaks-Action

693
Nov 30, 2026
RepositoryRuby
community/community

Public feedback discussions for: GitHub Mobile, GitHub Discussions, GitHub Codespaces, GitHub Sponsors, GitHub Issues and more!

9.0k
Nov 30, 2026
RepositoryShell
P3TERX/Actions-OpenWrt

A template for building OpenWrt with GitHub Actions | 使用 GitHub Actions 在线云编译 OpenWrt 固件

7.6k
Mar 2, 2024
RepositoryGo
github/gh-aw

GitHub Agentic Workflows

5.7k
Nov 26, 2026
RepositoryTypeScript
peaceiris/actions-gh-pages

GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.

5.4k
Nov 28, 2026
RepositoryTypeScript
JamesIves/github-pages-deploy-action

🚀 Automatically deploy your project to GitHub Pages using GitHub Actions. This action can be configured to push your production-ready code into any branch you'd like.

4.6k
Dec 1, 2026