ci: Release only when all the previous jobs succeeded.
Fixes: ("ci: Separate CI in several jobs.")
@@ -388,8 +388,6 @@ jobs:
run: |
echo "Using IMAGE_TAG=$IMAGE_TAG"
- tar zxvf /home/runner/work/inspektor-gadget/kubectl-gadget-linux-amd64.tar.gz
-
tar zxvf /home/runner/work/inspektor-gadget/kubectl-gadget-linux-amd64.tar.gz
mv kubectl-gadget kubectl-gadget-linux-amd64
@@ -418,7 +416,7 @@ jobs:
release:
name: Release
# level: 2
- needs: test-integration
+ needs: [documentation-checks, lint, test-integration, test-local-gadget]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
