Skip to content

Commit a8339f7

Browse files
authored
Merge pull request #353 from rubygems/fix-ci
Fixed assertion message from rubygems.org
2 parents 31a1b8b + feee8ba commit a8339f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- name: Test token
7070
run: |
7171
output="$(curl -s -w "\n\n%{http_code}" -v -X POST 'https://${{ matrix.gem-server }}/api/v1/gems' -H "Authorization: $RUBYGEMS_API_KEY" -H 'Accept: application/json')"
72-
expected="$(printf "RubyGems.org cannot process this gem.\nPlease try rebuilding it and installing it locally to make sure it's valid.\nError:\npackage metadata is missing\n\n\n422")"
72+
expected="$(printf "RubyGems.org cannot process this gem.\nPlease try rebuilding it and installing it locally to make sure it's valid.\nError:\ngem package contains no entries\n\n\n422")"
7373
test "$output" = "$expected" || (echo "$output" && exit 1)
7474
test-all:
7575
needs: [test-oidc, test-trusted-publisher]

0 commit comments

Comments
 (0)