Properly reference the distro-ID parsing script for package uploads. (#10840)
Austin S. Hemmelgarn committed
Mar 23, 2021 at 11:14 UTC
efe2a951ad9826e61a1f3e4229b6b8bd61e961ef
2 files changed
+1
-1
.github/scripts/parse_packagecloud_dist_id.py
.github/workflows/packaging.yml
+1
-1
@@ -116,7 +116,7 @@ jobs:
116
shell: bash
117
run: |
118
# This figures out the distribution ID for the upload.
119
- DIST_ID="$(curl https://${{ secrets.PACKAGE_CLOUD_API_KEY }}:@packagecloud.io/api/v1/distributions.json | python3 .github/scripts/parse_packagecloud_dist_id.py ${{ matrix.format }} ${{ matrix.pkgclouddistro }} ${{ matrix.pkgcloudversion }})"
119
+ DIST_ID="$(curl https://${{ secrets.PACKAGE_CLOUD_API_KEY }}:@packagecloud.io/api/v1/distributions.json | ${GITHUB_WORKSPACE}/.github/scripts/parse_packagecloud_dist_id.py ${{ matrix.format }} ${{ matrix.pkgclouddistro }} ${{ matrix.pkgcloudversion }})"
120
for pkgfile in artifacts/*.${FORMAT} ; do
121
curl -F "package[distro_version_id]=${BUILD_ID}" \
122
-F "package[package_file]=@${pkgfile}" \