diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc33259..e724245 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,9 +1,9 @@ name: Build on: + pull_request: push: workflow_dispatch: - pull_request: jobs: build: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 057bd23..dde7946 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,8 +1,8 @@ name: Lint on: - push: pull_request: + push: workflow_dispatch: jobs: diff --git a/.github/workflows/pypi-package.yml b/.github/workflows/pypi-package.yml deleted file mode 100644 index a03e343..0000000 --- a/.github/workflows/pypi-package.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Python Package - -on: - push: - tags: # on tags with versions - - "v*.*.*" - -jobs: - build-n-publish: - name: Build and publish Python distributions to PyPI - runs-on: ubuntu-18.04 - steps: - - uses: actions/checkout@master - - uses: little-core-labs/get-git-tag@v3.0.1 - - name: Set up Python 3.9 - uses: actions/setup-python@v1 - with: - python-version: "3.9" - - name: Install pypa/build - run: >- - python -m - pip install - build - --user - - name: Build a binary wheel and a source tarball - run: >- - python -m - build - --sdist - --wheel - --outdir dist/ - . - - name: Publish distribution to PyPI - uses: pypa/gh-action-pypi-publish@master - with: - password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/clashroyalebuildabot/images/screen/in_game.jpg b/clashroyalebuildabot/images/screen/in_game.jpg index e397f5a..e5e2cd8 100644 Binary files a/clashroyalebuildabot/images/screen/in_game.jpg and b/clashroyalebuildabot/images/screen/in_game.jpg differ diff --git a/clashroyalebuildabot/images/screen/in_game_overtime.jpg b/clashroyalebuildabot/images/screen/in_game_overtime.jpg deleted file mode 100644 index d4f8789..0000000 Binary files a/clashroyalebuildabot/images/screen/in_game_overtime.jpg and /dev/null differ diff --git a/clashroyalebuildabot/namespaces/screens.py b/clashroyalebuildabot/namespaces/screens.py index 9664790..54bc6dc 100644 --- a/clashroyalebuildabot/namespaces/screens.py +++ b/clashroyalebuildabot/namespaces/screens.py @@ -12,10 +12,7 @@ class Screen: @dataclass(frozen=True) class _ScreensNamespace: UNKNOWN: Screen = Screen("unknown", None, None) - IN_GAME: Screen = Screen("in_game", (315, 5, 365, 15), None) - IN_GAME_OVERTIME: Screen = Screen( - "in_game_overtime", (315, 5, 365, 15), None - ) + IN_GAME: Screen = Screen("in_game", (14, 586, 57, 601), None) LOBBY: Screen = Screen( "lobby", (315, 48, 356, 89),