diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 276fb9e8c1..6a87c4de62 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -24,7 +24,7 @@ jobs: run: | cross build --target ${{ matrix.arch }} --release # leave only the executable file - rm -rd target/${{ matrix.arch }}/release/{*/*,*.d,*.rlib,.fingerprint} + rm -frd target/${{ matrix.arch }}/release/{*/*,*.d,*.rlib,.fingerprint} find . -empty -delete - uses: actions/upload-artifact@master with: