Skip to content

Commit

Permalink
chore: fix cloudsmith install
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Sep 27, 2024
1 parent 5f88ab4 commit 7620c5f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ jobs:
go-version: ${{ env.GO_VERSION }}
id: go

- name: Install Cloudsmith CLI
run: pip install --upgrade cloudsmith-cli

- name: Patch ASN1
run: make patch-asn1-sudo

Expand All @@ -111,6 +108,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TESLA_CLIENT_ID: ${{ secrets.TESLA_CLIENT_ID }}

- name: Install Cloudsmith CLI
run: |
python3 -m venv venv
venv/bin/pip install --upgrade cloudsmith-cli
- name: Publish .deb to Cloudsmith
env:
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ jobs:
go-version: ${{ env.GO_VERSION }}
id: go

- name: Install Cloudsmith CLI
run: pip install --upgrade cloudsmith-cli

- name: Patch ASN1
run: make patch-asn1-sudo

Expand Down Expand Up @@ -105,6 +102,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
TESLA_CLIENT_ID: ${{ secrets.TESLA_CLIENT_ID }}

- name: Install Cloudsmith CLI
run: |
python3 -m venv venv
venv/bin/pip install --upgrade cloudsmith-cli
- name: Publish .deb to Cloudsmith
env:
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ publish-release::

apt-nightly::
$(foreach file, $(wildcard $(PACKAGES)/*.deb), \
cloudsmith push deb evcc/unstable/any-distro/any-version $(file); \
venv/bin/cloudsmith push deb evcc/unstable/any-distro/any-version $(file); \
)

apt-release::
$(foreach file, $(wildcard $(PACKAGES)/*.deb), \
cloudsmith push deb evcc/stable/any-distro/any-version $(file); \
venv/bin/cloudsmith push deb evcc/stable/any-distro/any-version $(file); \
)

# gokrazy image
Expand Down

0 comments on commit 7620c5f

Please sign in to comment.