-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into xml_playsound
- Loading branch information
Showing
137 changed files
with
1,979 additions
and
658 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,43 +12,30 @@ on: | |
release: | ||
types: [published] | ||
|
||
env: | ||
UV_CACHE_DIR: /tmp/.uv-cache | ||
|
||
jobs: | ||
deploy: | ||
release: | ||
name: Releasing to PyPi | ||
runs-on: ubuntu-latest | ||
environment: release | ||
environment: | ||
name: release | ||
url: https://pypi.org/manage/project/deebot-client/ | ||
permissions: | ||
contents: write | ||
id-token: write | ||
steps: | ||
- name: ⤵️ Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: 🏗 Install uv | ||
uses: astral-sh/setup-uv@v2 | ||
- name: ⤵️ Check out code from GitHub | ||
uses: actions/[email protected] | ||
- name: 🏗 Set up uv | ||
uses: astral-sh/setup-uv@v4 | ||
with: | ||
enable-cache: true | ||
cache-dependency-glob: "uv.lock" | ||
cache-local-path: ${{ env.UV_CACHE_DIR }} | ||
|
||
- name: 🏗 Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version-file: ".python-version" | ||
|
||
- name: 🏗 Install the project | ||
run: uv sync --dev --locked | ||
|
||
- name: 🏗 Set package version | ||
run: | | ||
sed -i "s/^version = \".*\"/version = \"${{ github.event.release.tag_name }}\"/" pyproject.toml | ||
- name: 📦 Build package | ||
run: uv build | ||
|
||
- name: 🚀 Publish package | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
verbose: true | ||
print-hash: true | ||
|
||
- name: 🚀 Publish to PyPi | ||
run: uv publish | ||
- name: ✍️ Sign published artifacts | ||
uses: sigstore/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,4 @@ nosetests.xml | |
.*_cache | ||
|
||
test.py | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.12 | ||
3.13.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.