some small fixes

This commit is contained in:
jonaswinkler 2021-01-10 21:53:18 +01:00
parent 64d6e6eded
commit f24640dec2

View File

@ -83,7 +83,7 @@ jobs:
path: src/documents/static/frontend/ path: src/documents/static/frontend/
release: release:
needs: [frontend, documentation] # tests needs: [frontend, documentation, tests]
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- -
@ -135,6 +135,7 @@ jobs:
name: Make release package name: Make release package
run: | run: |
cd dist cd dist
find . -name __pycache__ | xargs rm -r
tar -cJf paperless-ng.tar.xz paperless-ng/ tar -cJf paperless-ng.tar.xz paperless-ng/
- -
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
@ -147,8 +148,7 @@ jobs:
build-docker-image: build-docker-image:
if: github.event_name == 'push' && (github.ref == 'refs/heads/travis-multiarch-builds' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' || github.ref == 'refs/tags/ng-*') if: github.event_name == 'push' && (github.ref == 'refs/heads/travis-multiarch-builds' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' || github.ref == 'refs/tags/ng-*')
runs-on: ubuntu-latest runs-on: ubuntu-latest
# needs: tests needs: [frontend, tests]
needs: frontend
steps: steps:
- -
name: Prepare name: Prepare