Skip to content

Commit fde7b6f

Browse files
committed
feat: make package public in cd
1 parent 4f0abfa commit fde7b6f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,4 @@ jobs:
5555
cargo component publish -p ${{ matrix.component }} --config config.toml
5656
5757
# Make package public
58-
- run: |
59-
curl -X PATCH \
60-
-H "Accept: application/vnd.github.v3+json" \
61-
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
62-
https://api.github.com/orgs/wassemble/packages/container/${{ matrix.component }}/visibility \
63-
-d '{"visibility":"public"}'
58+
- run: gh api --method PATCH /orgs/wassemble/packages/container/${{ matrix.component }}/visibility -f visibility=public

0 commit comments

Comments
 (0)