44 release :
55 types :
66 - created
7+ push :
78
89permissions :
910 contents : read
1011
1112jobs :
1213 build_for_pypi :
14+ if : false
1315 permissions :
1416 contents : read
1517 runs-on : ubuntu-latest
3335 path : ./codecov-cli/dist/*
3436
3537 publish_to_pypi :
38+ if : false
3639 needs : build_for_pypi
3740 permissions :
3841 id-token : write # This is required for OIDC
@@ -122,20 +125,23 @@ jobs:
122125 overwrite : true
123126
124127 build_assets_alpine_arm :
125- name : Build assets - Alpine and ARM
128+ name : Build Linux assets - glibc and musl, ARM and x86
126129 runs-on : ubuntu-latest
127130 strategy :
128131 matrix :
129132 include :
130- - distro : " python :3.11-alpine "
133+ - distro : " alpine :3.21 "
131134 arch : arm64
132135 distro_name : alpine
133- - distro : " python :3.11-alpine "
136+ - distro : " alpine :3.21 "
134137 arch : x86_64
135138 distro_name : alpine
136- - distro : " python:3.11-bullseye "
139+ - distro : " ubuntu:20.04 "
137140 arch : arm64
138141 distro_name : linux
142+ - distro : " ubuntu:20.04" # 20.04 needed for glibc 2.31 compatibility
143+ distro_name : linux
144+ arch : x86_64
139145
140146 steps :
141147 - uses : actions/checkout@v4
@@ -153,16 +159,24 @@ jobs:
153159 -w ${{ github.workspace }} \
154160 --platform linux/${{ matrix.arch }} \
155161 ${{ matrix.distro }} \
156- ./codecov-cli/scripts/build_${{ matrix.distro_name }}_arm.sh ${{ matrix.distro_name }}_${{ matrix.arch }}
162+ ./codecov-cli/scripts/build_${{ matrix.distro_name }}.sh ${{ matrix.distro_name }}_${{ matrix.arch }}
163+
164+ - name : Upload build artifacts
165+ uses : actions/upload-artifact@v4
166+ with :
167+ name : codecovcli_${{ matrix.distro_name }}_${{ matrix.arch }}
168+ path : ./codecov-cli/dist/codecovcli_*
157169
158170 - name : Get auth token
171+ if : false
159172 id : token
160173 uses : actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
161174 with :
162175 app-id : ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
163176 private-key : ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
164177
165178 - name : Upload Release Asset
179+ if : false
166180 id : upload-release-asset
167181 uses : svenstaro/upload-release-action@v2
168182 with :
@@ -173,6 +187,7 @@ jobs:
173187 overwrite : true
174188
175189 publish_release :
190+ if : false
176191 name : Publish release
177192 needs : [build_assets, build_assets_alpine_arm, build_for_pypi, publish_to_pypi]
178193 runs-on : ubuntu-latest
0 commit comments