diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 44604a86a..bf2420c86 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -15,7 +15,7 @@ jobs: run: | python -m pip install --upgrade pip pip install apache-flink==1.14.3 - cd python-functions + cd dagger-py-functions if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Lint with flake8 run: | @@ -23,4 +23,4 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - name: Test with pytest run: | - pytest python-functions --disable-warnings \ No newline at end of file + pytest dagger-py-functions --disable-warnings \ No newline at end of file diff --git a/.github/workflows/python_package.yml b/.github/workflows/python_package.yml index 620e86857..28ef5ac57 100644 --- a/.github/workflows/python_package.yml +++ b/.github/workflows/python_package.yml @@ -8,13 +8,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Get Version - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Zip Python Udf run: | - zip -rD python_udfs.zip dagger-py-functions/udfs -x "*/__init__.py" - zip -rD data.zip dagger-py-functions/data - zip -rD dagger-py-functions.zip dagger-py-functions/requirements.txt data.zip python_udfs.zip + cd dagger-py-functions + zip -r python_udfs.zip udfs -x "*/__init__.py" + zip -jr data.zip data + zip -r dagger-py-functions.zip requirements.txt data.zip python_udfs.zip - name: Upload Release uses: ncipollo/release-action@v1 with: