diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index ae2683f7..24c7c8f2 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -53,6 +53,7 @@ jobs: create-release: runs-on: ubuntu-latest + needs: build_upload if: github.ref == 'refs/heads/main' steps: - name: Create Release @@ -85,4 +86,4 @@ jobs: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: 'source-code.zip' asset_name: 'oee-simulators-src.zip' - asset_content_type: application/zip \ No newline at end of file + asset_content_type: application/zip