Skip to content

Commit 19c4024

Browse files
Update build-deb.yaml
1 parent 340ff08 commit 19c4024

1 file changed

Lines changed: 1 addition & 21 deletions

File tree

.github/workflows/build-deb.yaml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
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"

0 commit comments

Comments
 (0)