Skip to content

Commit 8f54495

Browse files
committed
fix: resolve gem push error with multiple gem files
- Fix GitHub Actions workflow to push only the newly built gem - Use timestamp-based selection to push the most recent gem file - Remove old fastpixapi-0.0.1.gem to prevent conflicts - Resolve 'Too many gem names' error in CI/CD pipeline
1 parent 1e2d1a9 commit 8f54495

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/releases.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ jobs:
3232
mkdir -p ~/.gem
3333
echo -e "---\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
3434
chmod 0600 ~/.gem/credentials
35-
gem push *.gem
35+
# Push only the newly built gem (most recent by timestamp)
36+
gem push $(ls -t fastpixapi-*.gem | head -1)

fastpixapi-0.0.1.gem

-164 KB
Binary file not shown.

0 commit comments

Comments
 (0)