Skip to content

Commit

Permalink
Merge pull request #13 from Jalle19/workflow-fixes
Browse files Browse the repository at this point in the history
Disable release signing, add README badge
  • Loading branch information
Jalle19 authored Nov 14, 2023
2 parents e9886bf + 01e32c3 commit 51c0fca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ jobs:

github-release:
name: >-
Sign the Python distribution with Sigstore
and upload them to GitHub Release
Create GitHub release
needs:
- publish-to-pypi
runs-on: ubuntu-latest
Expand All @@ -66,12 +65,6 @@ jobs:
with:
name: python-package-distributions
path: dist/
- name: Sign the dists with Sigstore
uses: sigstore/gh-action-sigstore-python@v1.2.3
with:
inputs: >-
./dist/*.tar.gz
./dist/*.whl
- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
Expand All @@ -80,12 +73,9 @@ jobs:
'${{ github.ref_name }}'
--repo '${{ github.repository }}'
--notes ""
- name: Upload artifact signatures to GitHub Release
- name: Upload artifacts to GitHub Release
env:
GITHUB_TOKEN: ${{ github.token }}
# Upload to GitHub Release using the `gh` CLI.
# `dist/` contains the built packages, and the
# sigstore-produced signatures and certificates.
run: >-
gh release upload
'${{ github.ref_name }}' dist/**
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# pycaruna

[![PyPI version](https://badge.fury.io/py/pycaruna.svg)](https://badge.fury.io/py/pycaruna)

Basic Python implementation for interfacing with Caruna Plus (sometimes called _Caruna+_). It supports only basic
methods, but enough to extract electricity usage data for further processing.

Expand Down

0 comments on commit 51c0fca

Please sign in to comment.