-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move decky_plugin under the poetry structure
There's no need to special case it anymore, just treat it like any other Python module.
- Loading branch information
Showing
6 changed files
with
10 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,17 +22,17 @@ jobs: | |
with: | ||
separator: "," | ||
files: | | ||
plugin/* | ||
backend/decky_plugin.pyi | ||
- name: Is stub changed | ||
id: changed-stub | ||
run: | | ||
STUB_CHANGED="false" | ||
PATHS=(plugin plugin/decky_plugin.pyi) | ||
PATHS=(backend backend/decky_plugin.pyi) | ||
SHA=${{ github.sha }} | ||
SHA_PREV=HEAD^ | ||
FILES=$(git diff $SHA_PREV..$SHA --name-only -- ${PATHS[@]} | jq -Rsc 'split("\n")[:-1] | join (",")') | ||
if [[ "$FILES" == *"plugin/decky_plugin.pyi"* ]]; then | ||
if [[ "$FILES" == *"backend/decky_plugin.pyi"* ]]; then | ||
STUB_CHANGED="true" | ||
echo "Stub has changed, pushing updated stub" | ||
else | ||
|
@@ -48,7 +48,7 @@ jobs: | |
env: | ||
API_TOKEN_GITHUB: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
source_file: 'plugin/decky_plugin.pyi' | ||
source_file: 'backend/decky_plugin.pyi' | ||
destination_repo: 'SteamDeckHomebrew/decky-plugin-template' | ||
user_email: '[email protected]' | ||
user_name: 'TrainDoctor' | ||
|
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
File renamed without changes.
File renamed without changes.
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