File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 - name : Install build dependencies
5555 run : |
5656 apt-get update
57- apt-get install -y build-essential devscripts debhelper autotools-dev autoconf-archive fakeroot sed git tar gzip python3-pip python3-venv curl jq
57+ apt-get install -y build-essential devscripts debhelper autotools-dev autoconf-archive sed git tar gzip curl jq
5858
5959 - name : Checkout source
6060 uses : actions/checkout@v4
@@ -154,23 +154,3 @@ jobs:
154154 -H "Content-Type: application/vnd.debian.binary-package" \
155155 --data-binary @"$FILE_PATH" \
156156 "$UPLOAD_URL?name=$FILE_NAME"
157-
158-
159- - name : Upload to Cloudsmith (${{ matrix.os }}/${{ matrix.version }})
160- if : startsWith(github.ref, 'refs/tags/')
161- env :
162- CLOUDSMITH_API_KEY : ${{ secrets.CLOUDSMITH_API_KEY }}
163- shell : bash
164- run : |
165- FILENAME="artifacts/${{ matrix.os }}/${{ matrix.version }}/robotkernel-service-helper_${{ steps.sanitize.outputs.sanitized_image }}.deb"
166-
167- python3 -m venv cloudsmith
168- cd cloudsmith
169- source bin/activate
170-
171- python3 -m pip install --upgrade pip
172- pip3 install cloudsmith-cli
173-
174- cloudsmith push deb robertburger/robotkernel/${{ matrix.os }}/${{ matrix.version }} ../${FILENAME} \
175- --republish \
176- --api-key "$CLOUDSMITH_API_KEY"
You can’t perform that action at this time.
0 commit comments