From 3ebeb8c5d1c0799582130f873f0b78cdc390c8b6 Mon Sep 17 00:00:00 2001 From: Hugo Saporetti Junior Date: Wed, 24 Apr 2024 23:32:30 -0300 Subject: [PATCH] Fix GHA --- .github/workflows/build-and-test.yml | 8 ++++---- .github/workflows/publish.yml | 4 ---- .github/workflows/pypi-deploy.yml | 4 ---- dependencies.hspd | 1 + 4 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 55bbee91..4b6d7f22 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -103,9 +103,9 @@ jobs: python-version: ${{ matrix.python-version }} - name: Update PIP run: pip install --upgrade pip - - name: Install Build Tools + - name: Install System packages run: | - gradle installBuildTools - - name: Build AskAI + apt-get update && apt-get install -y libmagic-dev + - name: Build HSPyLib modules run: | - gradle ${{ inputs.gradle_debug_params }} clean build installModule + gradle clean installModule build ${{ inputs.gradle_debug_params }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b836b566..b4029627 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,8 +34,6 @@ jobs: version: ${{ steps.publish-it.outputs.version }} steps: - uses: actions/checkout@v3 - with: - submodules: 'true' - uses: actions/setup-java@v3 with: distribution: temurin @@ -73,8 +71,6 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v3 - with: - submodules: 'true' - name: Git Tag Version uses: yorevs/hspylib/.github/actions/tag-version@master with: diff --git a/.github/workflows/pypi-deploy.yml b/.github/workflows/pypi-deploy.yml index f419b28d..71526fe6 100644 --- a/.github/workflows/pypi-deploy.yml +++ b/.github/workflows/pypi-deploy.yml @@ -121,8 +121,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - with: - submodules: 'true' - uses: actions/setup-java@v3 with: distribution: temurin @@ -166,8 +164,6 @@ jobs: PYPI_MODULE: ${{ matrix.module }} steps: - uses: actions/checkout@v3 - with: - submodules: 'true' - uses: actions/setup-java@v3 with: distribution: temurin diff --git a/dependencies.hspd b/dependencies.hspd index 8e9deeaf..272c43ae 100644 --- a/dependencies.hspd +++ b/dependencies.hspd @@ -47,3 +47,4 @@ package: rich, version: 13.7.1, mode: eq package: pytz, version: 2024.1, mode: eq package: bs4, version: 0.0.2, mode: eq package: fake_useragent, version: 1.5.1, mode: eq +package: python-magic, version: 0.4.15, mode: eq