Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir committed Dec 10, 2024
1 parent 6f2ce14 commit a619a12
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/upl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ jobs:
for file in archive/*.tar.gz; do
artifact_name=$(basename "$file")
echo "Triggering upload for $file as $artifact_name"
echo "gh workflow run upload_artifacts.yml --ref ${{ github.ref_name }} -f artifact_name=$artifact_name -f artifact_path=$file"
# Use gh workflow run with --field
gh workflow run upload_artifacts.yml \
--ref ${{ github.ref_name }} \
-f artifact_name=$artifact_name \
-f artifact_path=$file
gh workflow run upload_artifacts.yml --ref ${{ github.ref_name }} -f artifact_name=$artifact_name -f artifact_path=$file
done

0 comments on commit a619a12

Please sign in to comment.