@@ -37,78 +37,12 @@ jobs:
3737
3838 - name : " Publish package to PyPI"
3939 uses : pypa/gh-action-pypi-publish@release/v1
40- publish-python-bindings :
41- runs-on : " ubuntu-latest"
42- needs :
43- - " build"
44- environment :
45- name : " pypi"
46- permissions :
47- id-token : " write"
48-
49- steps :
50- - uses : " actions/checkout@v6"
51- with :
52- fetch-depth : 1
53- path : " pulp_rust"
54-
55- - name : " Download Python client"
56- uses : " actions/download-artifact@v8"
57- with :
58- name : " python-client.tar"
59- path : " pulp_rust/"
60-
61- - name : " Untar python client packages"
62- run : |
63- tar -xvf rust-python-client.tar
64-
65- - name : " Publish client to pypi"
66- uses : " pypa/gh-action-pypi-publish@release/v1"
67- with :
68- packages-dir : " pulp_rust/dist/"
69- publish-ruby-bindings :
70- runs-on : " ubuntu-latest"
71- needs :
72- - " build"
73- environment :
74- name : " rubygems"
75- permissions :
76- id-token : " write"
77-
78- steps :
79- - uses : " actions/checkout@v6"
80- with :
81- fetch-depth : 1
82- path : " pulp_rust"
83-
84- - name : " Download Ruby client"
85- uses : " actions/download-artifact@v8"
86- with :
87- name : " ruby-client.tar"
88- path : " pulp_rust/"
89-
90- - name : " Untar Ruby client packages"
91- run : |
92- tar -xvf rust-ruby-client.tar
93-
94- - uses : ruby/setup-ruby@v1
95- with :
96- ruby-version : " 2.6"
97-
98- - name : " Set RubyGems Credentials"
99- uses : " rubygems/configure-rubygems-credentials@v1.0.0"
100-
101- - name : " Publish client to RubyGems"
102- run : |
103- gem push "pulp_rust_client-${{ github.ref_name }}.gem"
10440
10541 create-gh-release :
10642 runs-on : " ubuntu-latest"
10743 needs :
10844 - " build"
10945 - " publish-package"
110- - " publish-python-bindings"
111- - " publish-ruby-bindings"
11246
11347 permissions :
11448 contents : " write"
0 commit comments